Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001184/0.001184, allocations: 194 kB / 18.72 MB, free: 4.762 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.978/1.978, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001406/0.001407, allocations: 43.94 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 46.64 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004774/0.1335, allocations: 3.022 MB / 330.3 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.1358, allocations: 1.185 MB / 331.5 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.136, allocations: 7.938 kB / 331.5 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.1366, allocations: 143.4 kB / 331.6 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.137, allocations: 163.1 kB / 331.8 MB, free: 364 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1374, allocations: 123.8 kB / 331.9 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.1379, allocations: 414.2 kB / 332.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000198/0.1381, allocations: 102.6 kB / 332.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.1383, allocations: 159.3 kB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1386, allocations: 187.2 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.1386, allocations: 20 kB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1388, allocations: 63.92 kB / 332.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1389, allocations: 71.69 kB / 332.9 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.1391, allocations: 179 kB / 333.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.1395, allocations: 347.4 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.1395, allocations: 4 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1395, allocations: 3.938 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1395, allocations: 0 / 333.4 MB, free: 14.72 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001109/0.1406, allocations: 0.6868 MB / 334.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1407, allocations: 8.031 kB / 334.1 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.49e-05/0.1408, allocations: 52.45 kB / 334.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1412, allocations: 312.5 kB / 334.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1412, allocations: 16.94 kB / 334.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.1413, allocations: 36.02 kB / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.1418, allocations: 291.1 kB / 334.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.1418, allocations: 3.938 kB / 334.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.1419, allocations: 19.98 kB / 334.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.1419, allocations: 4 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.1422, allocations: 178.1 kB / 335 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.1436, allocations: 0.856 MB / 335.8 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.1442, allocations: 259.4 kB / 336.1 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.1444, allocations: 101.4 kB / 336.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.1445, allocations: 4.281 kB / 336.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004073/0.1449, allocations: 164.9 kB / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.1449, allocations: 0 / 336.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002627/0.1475, allocations: 1.315 MB / 337.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.1477, allocations: 191.9 kB / 337.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.1482, allocations: 344.5 kB / 338.2 MB, free: 9.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.1482, allocations: 41.7 kB / 338.2 MB, free: 9.504 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1484, allocations: 188.5 kB / 338.4 MB, free: 9.316 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.1485, allocations: 134.1 kB / 338.6 MB, free: 9.184 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1487, allocations: 82.03 kB / 338.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1489, allocations: 346.8 kB / 339 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.1491, allocations: 92.77 kB / 339.1 MB, free: 8.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1494, allocations: 181.3 kB / 339.2 MB, free: 8.445 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.1498, allocations: 242.2 kB / 339.5 MB, free: 8.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1498, allocations: 4 kB / 339.5 MB, free: 8.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005659/0.1504, allocations: 362.1 kB / 339.8 MB, free: 7.828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1504, allocations: 4 kB / 339.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1504, allocations: 4 kB / 339.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.92e-05/0.1505, allocations: 20.84 kB / 339.9 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.1509, allocations: 91.89 kB / 340 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.1521, allocations: 1.281 MB / 341.2 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.1523, allocations: 15.94 kB / 341.3 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.1523, allocations: 28.12 kB / 341.3 MB, free: 6.254 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.1525, allocations: 165.7 kB / 341.4 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.1526, allocations: 39.53 kB / 341.5 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.879e-05/0.1527, allocations: 51.94 kB / 341.5 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1527, allocations: 4 kB / 341.5 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1527, allocations: 0 / 341.5 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000674/0.1534, allocations: 0.657 MB / 342.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.1546, allocations: 0.8485 MB / 343 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1546, allocations: 4 kB / 343 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.1549, allocations: 87.83 kB / 343.1 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1549, allocations: 4 kB / 343.1 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.155, allocations: 12.12 kB / 343.1 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.155, allocations: 4 kB / 343.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.155, allocations: 0 / 343.1 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000786/0.1558, allocations: 0.5534 MB / 343.7 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1559, allocations: 132.7 kB / 343.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.156, allocations: 12 kB / 343.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.1562, allocations: 15.98 kB / 343.9 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.1563, allocations: 23.97 kB / 343.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.1563, allocations: 12 kB / 343.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002763/0.1566, allocations: 255 kB / 344.1 MB, free: 3.152 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1566, allocations: 0 / 344.1 MB, free: 3.152 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004212/0.1571, allocations: 104.6 kB / 344.2 MB, free: 3.051 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.1582, allocations: 422.1 kB / 344.7 MB, free: 2.645 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.1589, allocations: 370.2 kB / 345 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1589, allocations: 0 / 345 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.1592, allocations: 136.1 kB / 345.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.1598, allocations: 97.36 kB / 345.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1616, allocations: 1.188 MB / 346.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.1621, allocations: 0.8118 MB / 347.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.828e-05/0.1622, allocations: 35.44 kB / 347.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1622, allocations: 0 / 347.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Templates: time 0.009393/0.1716, allocations: 5.714 MB / 353 MB, free: 10.21 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.o] Error 1