Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009342, allocations: 100 kB / 17.96 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 179.1 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005119, allocations: 19.98 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.003547/0.1223, allocations: 2.387 MB / 332 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1241, allocations: 0.7061 MB / 332.7 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1244, allocations: 11.94 kB / 332.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1245, allocations: 31.75 kB / 332.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1248, allocations: 75.34 kB / 332.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1251, allocations: 83.91 kB / 332.9 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1254, allocations: 330.6 kB / 333.2 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1256, allocations: 73.14 kB / 333.3 MB, free: 36 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1258, allocations: 111.6 kB / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.126, allocations: 139.2 kB / 333.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.126, allocations: 16 kB / 333.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.1261, allocations: 16 kB / 333.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1261, allocations: 47.7 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1263, allocations: 157 kB / 333.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1265, allocations: 235.6 kB / 334 MB, free: 15.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1265, allocations: 0 / 334 MB, free: 15.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1265, allocations: 0 / 334 MB, free: 15.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1265, allocations: 4 kB / 334 MB, free: 15.32 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001159/0.1277, allocations: 0.603 MB / 334.6 MB, free: 14.65 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1278, allocations: 8.031 kB / 334.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.1278, allocations: 32.56 kB / 334.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1282, allocations: 271.5 kB / 334.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/0.1282, allocations: 16.81 kB / 334.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.1283, allocations: 20.38 kB / 335 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.1289, allocations: 267.5 kB / 335.2 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1289, allocations: 4 kB / 335.2 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.129, allocations: 8 kB / 335.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.129, allocations: 4 kB / 335.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.1298, allocations: 285.6 kB / 335.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.1313, allocations: 0.9009 MB / 336.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.1321, allocations: 274.5 kB / 336.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.1324, allocations: 116.8 kB / 336.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1325, allocations: 0 / 336.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004868/0.133, allocations: 189.8 kB / 337 MB, free: 12.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.133, allocations: 0 / 337 MB, free: 12.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.00211/0.1351, allocations: 0.7137 MB / 337.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.1352, allocations: 106.8 kB / 337.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1355, allocations: 270.5 kB / 338.1 MB, free: 11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1355, allocations: 25.7 kB / 338.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1356, allocations: 183.8 kB / 338.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.1357, allocations: 43.36 kB / 338.3 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1357, allocations: 25.7 kB / 338.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1359, allocations: 338.8 kB / 338.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.1362, allocations: 107.9 kB / 338.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.1366, allocations: 185.4 kB / 339 MB, free: 10.05 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.1373, allocations: 304 kB / 339.3 MB, free: 9.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1373, allocations: 3.938 kB / 339.3 MB, free: 9.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001165/0.1385, allocations: 487.5 kB / 339.7 MB, free: 9.223 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.1387, allocations: 177.6 kB / 339.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.1387, allocations: 4 kB / 339.9 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.1392, allocations: 132.8 kB / 340 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.1394, allocations: 55.89 kB / 340.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.142, allocations: 1.807 MB / 341.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.1423, allocations: 63.81 kB / 342 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1424, allocations: 15.98 kB / 342 MB, free: 6.797 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.1424, allocations: 4 kB / 342 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007974/0.1432, allocations: 333.1 kB / 342.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1432, allocations: 8.25 kB / 342.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-05/0.1433, allocations: 36.84 kB / 342.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.1435, allocations: 51.89 kB / 342.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.1449, allocations: 1.53 MB / 343.9 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.1453, allocations: 51.91 kB / 344 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.1453, allocations: 11.94 kB / 344 MB, free: 4.637 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.1455, allocations: 221 kB / 344.2 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.1456, allocations: 23.72 kB / 344.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.1457, allocations: 21.78 kB / 344.3 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1457, allocations: 7.984 kB / 344.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1457, allocations: 192 / 344.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1457, allocations: 4 kB / 344.3 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.146, allocations: 289.5 kB / 344.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1461, allocations: 0 / 344.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1462, allocations: 27.97 kB / 344.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.1465, allocations: 80.8 kB / 344.7 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1465, allocations: 3.938 kB / 344.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.1487, allocations: 1.744 MB / 346.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1487, allocations: 0 / 346.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.1497, allocations: 373.4 kB / 346.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1498, allocations: 105 kB / 346.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.1499, allocations: 4 kB / 346.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1501, allocations: 43.95 kB / 346.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.1502, allocations: 27.91 kB / 347 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1502, allocations: 0 / 347 MB, free: 1.449 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.1504, allocations: 194 kB / 347.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1505, allocations: 0 / 347.1 MB, free: 1.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000618/0.1511, allocations: 119.8 kB / 347.3 MB, free: 1.141 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001714/0.1513, allocations: 111.2 kB / 347.4 MB, free: 1.023 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.1531, allocations: 0.7854 MB / 348.2 MB, free: 192 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1531, allocations: 0 / 348.2 MB, free: 192 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.1536, allocations: 263.5 kB / 348.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.154, allocations: 48.47 kB / 348.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1564, allocations: 0.9376 MB / 349.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1568, allocations: 0.7483 MB / 350.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.1569, allocations: 19.44 kB / 350.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1569, allocations: 0 / 350.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Templates: time 0.00837/0.1653, allocations: 4.177 MB / 354.3 MB, free: 9.93 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmpCalcHelperMain.o] Error 1