Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.000908, allocations: 86.48 kB / 17.58 MB, free: 5.758 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.00117/0.00117, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.691/1.691, allocations: 205.4 MB / 224.6 MB, free: 13.08 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.0005156/0.0005158, allocations: 12 kB / 281.4 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.433/0.5495, allocations: 130.5 MB / 459.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.5524, allocations: 1.638 MB / 461.1 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.5527, allocations: 4 kB / 461.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.5533, allocations: 135.2 kB / 461.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005745/0.5539, allocations: 310.4 kB / 461.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009685/0.5549, allocations: 326.3 kB / 461.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.5562, allocations: 1.071 MB / 463 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.5565, allocations: 80.64 kB / 463 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.5572, allocations: 346.8 kB / 463.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.5577, allocations: 314.9 kB / 463.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.5577, allocations: 16 kB / 463.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.558, allocations: 83.81 kB / 463.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.5581, allocations: 83.7 kB / 463.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.5582, allocations: 89.58 kB / 464 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.5587, allocations: 368.6 kB / 464.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5587, allocations: 0 / 464.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5587, allocations: 3.938 kB / 464.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.5587, allocations: 0 / 464.3 MB, free: 2.289 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009812/0.5597, allocations: 0.5268 MB / 464.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5597, allocations: 12.03 kB / 464.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.5601, allocations: 47.61 kB / 464.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.5605, allocations: 274.6 kB / 465.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.5605, allocations: 16.56 kB / 465.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.5606, allocations: 27.91 kB / 465.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.5613, allocations: 297.4 kB / 465.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.5613, allocations: 0.875 kB / 465.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.5613, allocations: 16 kB / 465.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5613, allocations: 15.89 kB / 465.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.5617, allocations: 198.2 kB / 465.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.5636, allocations: 1.293 MB / 467 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.564, allocations: 187.3 kB / 467.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.5641, allocations: 89.2 kB / 467.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.5643, allocations: 174.4 kB / 467.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5644, allocations: 38.69 kB / 467.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.5644, allocations: 0 / 467.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002479/0.5668, allocations: 1.036 MB / 468.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.5669, allocations: 59.34 kB / 468.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.5672, allocations: 258.5 kB / 468.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.5672, allocations: 29.7 kB / 468.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5674, allocations: 184.2 kB / 469.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.5675, allocations: 86.73 kB / 469.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.5675, allocations: 8 kB / 469.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5677, allocations: 334.8 kB / 469.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5678, allocations: 83.75 kB / 469.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.568, allocations: 183.8 kB / 469.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.5682, allocations: 103.9 kB / 469.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5683, allocations: 0 / 469.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006446/0.5689, allocations: 455.8 kB / 470.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.5689, allocations: 8 kB / 470.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.569, allocations: 0 / 470.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.5691, allocations: 41.7 kB / 470.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.5694, allocations: 71.91 kB / 470.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.5722, allocations: 2.581 MB / 473 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.5724, allocations: 24.14 kB / 473 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.5725, allocations: 12 kB / 473 MB, free: 8.816 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.5727, allocations: 161.6 kB / 473.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.5727, allocations: 31.56 kB / 473.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.5733, allocations: 362.9 kB / 473.6 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5733, allocations: 7.938 kB / 473.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5733, allocations: 0 / 473.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005762/0.5739, allocations: 0.611 MB / 474.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5749, allocations: 0.7586 MB / 474.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5749, allocations: 0 / 474.9 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.5752, allocations: 59.91 kB / 475 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.147e-05/0.5753, allocations: 20.84 kB / 475 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5753, allocations: 11.98 kB / 475 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.5764, allocations: 1.272 MB / 476.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5764, allocations: 0 / 476.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.5771, allocations: 0.5185 MB / 476.8 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.5772, allocations: 104.8 kB / 476.9 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.5773, allocations: 8 kB / 476.9 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.5775, allocations: 15.98 kB / 476.9 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.5776, allocations: 19.91 kB / 477 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.5776, allocations: 20.05 kB / 477 MB, free: 4.422 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.5778, allocations: 182 kB / 477.2 MB, free: 4.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5778, allocations: 0 / 477.2 MB, free: 4.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.5783, allocations: 103.9 kB / 477.3 MB, free: 4.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.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 (25): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.5785, allocations: 123.2 kB / 477.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007033/0.5793, allocations: 453.5 kB / 477.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5793, allocations: 0 / 477.8 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.5795, allocations: 218.5 kB / 478 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009294/0.5805, allocations: 168.8 kB / 478.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.5818, allocations: 0.8277 MB / 479 MB, free: 2.297 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.5823, allocations: 0.7723 MB / 479.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/0.5824, allocations: 35.42 kB / 479.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5824, allocations: 0 / 479.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of Templates: time 0.01039/0.5928, allocations: 6.319 MB / 486.2 MB, free: 11.14 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.o] Error 1