Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009578/0.0009579, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002583, allocations: 4 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003678/0.1306, allocations: 2.572 MB / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1331, allocations: 1.267 MB / 362.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.1335, allocations: 7.938 kB / 362.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.1341, allocations: 127.4 kB / 362.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008571/0.135, allocations: 175.1 kB / 362.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.1356, allocations: 143.5 kB / 363.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007342/0.1364, allocations: 386.2 kB / 363.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.1366, allocations: 97.86 kB / 363.5 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.137, allocations: 151.4 kB / 363.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.1373, allocations: 163.2 kB / 363.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/0.1374, allocations: 20 kB / 363.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.1376, allocations: 36 kB / 363.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1377, allocations: 75.67 kB / 364 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1379, allocations: 97.52 kB / 364.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.1383, allocations: 323.4 kB / 364.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1383, allocations: 3.938 kB / 364.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1383, allocations: 0 / 364.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1384, allocations: 0 / 364.4 MB, free: 8.477 MB / 302.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.00121/0.1396, allocations: 0.6205 MB / 365 MB, free: 7.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.1396, allocations: 8.031 kB / 365 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1398, allocations: 47.52 kB / 365.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.1403, allocations: 307.4 kB / 365.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.1403, allocations: 20.52 kB / 365.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.1404, allocations: 27.94 kB / 365.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000558/0.141, allocations: 287.1 kB / 365.7 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.141, allocations: 7.984 kB / 365.7 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.141, allocations: 8 kB / 365.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1411, allocations: 8 kB / 365.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.1415, allocations: 178.1 kB / 365.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.143, allocations: 0.8483 MB / 366.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005551/0.1436, allocations: 256.1 kB / 367 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.1438, allocations: 97.33 kB / 367.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.1438, allocations: 4.281 kB / 367.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/0.1442, allocations: 170.6 kB / 367.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 2.245e-06/0.1442, allocations: 0 / 367.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002412/0.1466, allocations: 1.304 MB / 368.6 MB, free: 3.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.1467, allocations: 187.9 kB / 368.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.1471, allocations: 332.5 kB / 369.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1472, allocations: 37.7 kB / 369.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1473, allocations: 184.6 kB / 369.3 MB, free: 3.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1474, allocations: 141.9 kB / 369.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.1475, allocations: 11.94 kB / 369.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1476, allocations: 346.8 kB / 369.8 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1478, allocations: 92.83 kB / 369.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.1481, allocations: 181.2 kB / 370 MB, free: 2.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.1483, allocations: 113.6 kB / 370.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1484, allocations: 0 / 370.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005895/0.1489, allocations: 346.9 kB / 370.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.149, allocations: 4 kB / 370.5 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.149, allocations: 3.953 kB / 370.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.1491, allocations: 24.97 kB / 370.5 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.1494, allocations: 91.84 kB / 370.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.1507, allocations: 1.288 MB / 371.9 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1509, allocations: 16.06 kB / 371.9 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.1509, allocations: 16 kB / 371.9 MB, free: 384 kB / 302.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.1512, allocations: 165.7 kB / 372.1 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.1512, allocations: 43.52 kB / 372.1 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1513, allocations: 47.91 kB / 372.2 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1514, allocations: 4 kB / 372.2 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1514, allocations: 0 / 372.2 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2471/0.3985, allocations: 0.6549 MB / 372.8 MB, free: 19.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.4, allocations: 0.8373 MB / 373.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4, allocations: 2.812 kB / 373.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.4004, allocations: 76.36 kB / 373.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.4004, allocations: 3.406 kB / 373.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.4004, allocations: 14.44 kB / 373.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.904e-06/0.4004, allocations: 3.562 kB / 373.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4004, allocations: 4.266 kB / 373.8 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.4013, allocations: 0.5392 MB / 374.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.4014, allocations: 137.3 kB / 374.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.4015, allocations: 16.03 kB / 374.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.4017, allocations: 20.44 kB / 374.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.4018, allocations: 27.59 kB / 374.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.4018, allocations: 13.89 kB / 374.5 MB, free: 18.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003306/0.4022, allocations: 237.8 kB / 374.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4022, allocations: 0 / 374.8 MB, free: 18.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.4026, allocations: 93.59 kB / 374.9 MB, free: 18.67 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000965/0.4036, allocations: 424.3 kB / 375.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007601/0.4044, allocations: 376.2 kB / 375.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4044, allocations: 0.875 kB / 375.6 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.4047, allocations: 135.9 kB / 375.8 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.4054, allocations: 90.36 kB / 375.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.4075, allocations: 1.269 MB / 377.1 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4078, allocations: 0.8037 MB / 377.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4079, allocations: 36.3 kB / 378 MB, free: 16.93 MB / 302.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4079, allocations: 0 / 378 MB, free: 16.93 MB / 302.1 MB Notification: Performance of Templates: time 0.01053/0.4185, allocations: 5.681 MB / 383.7 MB, free: 16.01 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.o OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinderCalcHelperMain.o] Error 1