Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001337, allocations: 91.67 kB / 16.95 MB, free: 5.617 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.002441/0.002441, allocations: 185.5 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002868, allocations: 8 kB / 301.4 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 50.42 MB / 351.9 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004008/0.1309, allocations: 3.002 MB / 354.9 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1325, allocations: 0.8338 MB / 355.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.1327, allocations: 7.938 kB / 355.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.133, allocations: 75.39 kB / 355.8 MB, free: 120 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000392/0.1334, allocations: 162.8 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1337, allocations: 95.84 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007638/0.1344, allocations: 0.5638 MB / 356.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.1347, allocations: 158.3 kB / 356.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1349, allocations: 207.2 kB / 357 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.1353, allocations: 239 kB / 357.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.1354, allocations: 32 kB / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.1355, allocations: 36 kB / 357.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.1356, allocations: 99.64 kB / 357.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.1358, allocations: 129.5 kB / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.1362, allocations: 474.9 kB / 357.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1363, allocations: 0 / 357.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1363, allocations: 4 kB / 357.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1363, allocations: 0 / 357.9 MB, free: 13.93 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001217/0.1375, allocations: 0.7649 MB / 358.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1376, allocations: 8.031 kB / 358.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.1377, allocations: 59.34 kB / 358.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.1383, allocations: 377.6 kB / 359.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.1384, allocations: 62.34 kB / 359.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.076e-05/0.1385, allocations: 32 kB / 359.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007756/0.1393, allocations: 453 kB / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1393, allocations: 0 / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.1394, allocations: 19.95 kB / 359.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1394, allocations: 8 kB / 359.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.1399, allocations: 294.4 kB / 360 MB, free: 11.72 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.1423, allocations: 1.298 MB / 361.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1435, allocations: 441.4 kB / 361.7 MB, free: 9.871 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.1438, allocations: 144.8 kB / 361.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.1438, allocations: 11.83 kB / 361.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.1439, allocations: 42.55 kB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.235e-06/0.1439, allocations: 0 / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001316/0.1452, allocations: 0.6146 MB / 362.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002396/0.1455, allocations: 448.9 kB / 363 MB, free: 8.461 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.146, allocations: 450 kB / 363.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.1461, allocations: 37.8 kB / 363.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.1463, allocations: 232.3 kB / 363.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1464, allocations: 110.4 kB / 363.8 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.1464, allocations: 8 kB / 363.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1466, allocations: 354.8 kB / 364.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.1469, allocations: 108.6 kB / 364.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.1473, allocations: 260 kB / 364.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.1476, allocations: 163.2 kB / 364.7 MB, free: 6.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1476, allocations: 0 / 364.7 MB, free: 6.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008351/0.1484, allocations: 428.9 kB / 365.1 MB, free: 6.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.1485, allocations: 33.7 kB / 365.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1485, allocations: 0 / 365.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.1487, allocations: 49.69 kB / 365.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.1491, allocations: 71.94 kB / 365.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.1519, allocations: 2.748 MB / 368 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.1525, allocations: 51.77 kB / 368 MB, free: 3.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.1525, allocations: 12 kB / 368 MB, free: 3.004 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.1528, allocations: 165.7 kB / 368.2 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.1529, allocations: 51.44 kB / 368.2 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.153, allocations: 52.69 kB / 368.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.153, allocations: 0 / 368.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.153, allocations: 0 / 368.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009192/0.1539, allocations: 0.6609 MB / 369 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.1553, allocations: 0.912 MB / 369.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1553, allocations: 4 kB / 369.9 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.1557, allocations: 63.95 kB / 369.9 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1557, allocations: 3.938 kB / 369.9 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.1557, allocations: 11.94 kB / 370 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1557, allocations: 0 / 370 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1557, allocations: 3.953 kB / 370 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.1566, allocations: 0.5308 MB / 370.5 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.1568, allocations: 164.5 kB / 370.6 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.068e-05/0.1569, allocations: 8.062 kB / 370.7 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.1571, allocations: 19.98 kB / 370.7 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.1572, allocations: 23.97 kB / 370.7 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1572, allocations: 7.953 kB / 370.7 MB, free: 124 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.2448/0.402, allocations: 315.6 kB / 371 MB, free: 24.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.402, allocations: 0 / 371 MB, free: 24.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009248/0.403, allocations: 129.3 kB / 371.1 MB, free: 24.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001792/0.4032, allocations: 109 kB / 371.2 MB, free: 24.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.4043, allocations: 0.5633 MB / 371.8 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4044, allocations: 1.75 kB / 371.8 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.4047, allocations: 132.4 kB / 371.9 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.4055, allocations: 126.4 kB / 372.1 MB, free: 24.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.4076, allocations: 1.087 MB / 373.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.4079, allocations: 0.8158 MB / 374 MB, free: 22.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4081, allocations: 44.81 kB / 374 MB, free: 22.89 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4081, allocations: 0 / 374 MB, free: 22.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01448/0.4226, allocations: 8.19 MB / 382.2 MB, free: 20.82 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCoolingCalcHelperMain.o] Error 1