Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,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.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 98.47 kB / 17.96 MB, free: 5.77 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.001222/0.001222, allocations: 178.3 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.875/1.875, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005967/0.0005967, allocations: 8 kB / 282 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 47.58 MB / 329.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003847/0.1281, allocations: 2.395 MB / 332 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.13, allocations: 0.7022 MB / 332.7 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.1304, allocations: 7.938 kB / 332.7 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.1306, allocations: 31.77 kB / 332.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.131, allocations: 79.39 kB / 332.8 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1314, allocations: 83.91 kB / 332.9 MB, free: 420 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.1319, allocations: 326.6 kB / 333.2 MB, free: 92 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.1322, allocations: 69.14 kB / 333.3 MB, free: 28 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.1325, allocations: 111.5 kB / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.1328, allocations: 135.3 kB / 333.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.1329, allocations: 16 kB / 333.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.133, allocations: 16 kB / 333.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.1331, allocations: 59.69 kB / 333.6 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.1333, allocations: 153 kB / 333.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.1336, allocations: 239.6 kB / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1336, allocations: 0 / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1336, allocations: 0 / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1336, allocations: 0 / 334 MB, free: 15.3 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.001457/0.1351, allocations: 0.6069 MB / 334.6 MB, free: 14.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1351, allocations: 8.031 kB / 334.6 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.1353, allocations: 32.56 kB / 334.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005164/0.1358, allocations: 271.5 kB / 334.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.1358, allocations: 12.81 kB / 334.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.1359, allocations: 24.38 kB / 335 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.1366, allocations: 267.5 kB / 335.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1367, allocations: 0 / 335.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.1367, allocations: 11.94 kB / 335.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.1367, allocations: 8 kB / 335.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.1376, allocations: 293.5 kB / 335.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.1393, allocations: 0.8892 MB / 336.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.1401, allocations: 278.5 kB / 336.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.1405, allocations: 108.8 kB / 336.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.1405, allocations: 8 kB / 336.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005223/0.141, allocations: 193.8 kB / 337 MB, free: 12.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.141, allocations: 0 / 337 MB, free: 12.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002254/0.1433, allocations: 0.7059 MB / 337.7 MB, free: 11.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.1434, allocations: 110.8 kB / 337.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.1437, allocations: 256.9 kB / 338.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1437, allocations: 29.7 kB / 338.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1439, allocations: 175.9 kB / 338.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.144, allocations: 47.34 kB / 338.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.144, allocations: 29.7 kB / 338.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1442, allocations: 326.8 kB / 338.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.1445, allocations: 111.9 kB / 338.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.1449, allocations: 171.6 kB / 338.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.1456, allocations: 282.8 kB / 339.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1457, allocations: 4 kB / 339.2 MB, free: 9.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001204/0.1469, allocations: 471.5 kB / 339.7 MB, free: 9.281 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.147, allocations: 163.9 kB / 339.8 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.147, allocations: 0 / 339.8 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.1476, allocations: 136.8 kB / 340 MB, free: 8.953 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1478, allocations: 43.91 kB / 340 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.15, allocations: 1.752 MB / 341.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.1503, allocations: 47.81 kB / 341.8 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1503, allocations: 12.17 kB / 341.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.1504, allocations: 4 kB / 341.8 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007937/0.1512, allocations: 326.3 kB / 342.1 MB, free: 6.629 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1512, allocations: 4 kB / 342.1 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.1513, allocations: 36.84 kB / 342.2 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.1515, allocations: 47.91 kB / 342.2 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1528, allocations: 1.534 MB / 343.8 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.1531, allocations: 47.88 kB / 343.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1531, allocations: 4 kB / 343.8 MB, free: 4.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0002399/0.1534, allocations: 224.7 kB / 344 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.1534, allocations: 15.81 kB / 344 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.1535, allocations: 37.7 kB / 344.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1535, allocations: 0 / 344.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1535, allocations: 3.938 kB / 344.1 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1535, allocations: 0 / 344.1 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.1539, allocations: 305.3 kB / 344.4 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1539, allocations: 192 / 344.4 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.154, allocations: 27.98 kB / 344.4 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.1543, allocations: 76.8 kB / 344.5 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.1543, allocations: 7.938 kB / 344.5 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.1563, allocations: 1.636 MB / 346.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1563, allocations: 4.062 kB / 346.1 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.1572, allocations: 374 kB / 346.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.1573, allocations: 100.8 kB / 346.6 MB, free: 1.805 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1573, allocations: 4 kB / 346.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1576, allocations: 47.89 kB / 346.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.1577, allocations: 19.97 kB / 346.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1577, allocations: 4.188 kB / 346.7 MB, free: 1.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1579, allocations: 184.5 kB / 346.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1579, allocations: 0 / 346.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005481/0.1585, allocations: 127.7 kB / 347 MB, free: 1.43 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.0001682/0.1586, allocations: 107.2 kB / 347.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.1602, allocations: 0.7259 MB / 347.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1602, allocations: 0 / 347.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.1607, allocations: 254.8 kB / 348.1 MB, free: 284 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.161, allocations: 48.52 kB / 348.1 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1622, allocations: 0.5776 MB / 348.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1626, allocations: 0.7521 MB / 349.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.1627, allocations: 19.44 kB / 349.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1627, allocations: 0 / 349.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Templates: time 0.006951/0.1696, allocations: 4.129 MB / 353.6 MB, free: 10.68 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.o] Error 1