Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 95 kB / 16.96 MB, free: 5.949 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.001128/0.001128, allocations: 178 kB / 17.84 MB, free: 5.617 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.496/1.496, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 11.94 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2875/0.4192, allocations: 34.59 MB / 386.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.4252, allocations: 4.297 MB / 390.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.4261, allocations: 3.438 kB / 390.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.4274, allocations: 228 kB / 391 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.4293, allocations: 455.7 kB / 391.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006557/0.4358, allocations: 1.291 MB / 392.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003191/0.439, allocations: 1.613 MB / 394.3 MB, free: 5.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.4394, allocations: 112.4 kB / 394.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008107/0.4402, allocations: 413.3 kB / 394.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/0.4411, allocations: 399 kB / 395.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.4411, allocations: 20.81 kB / 395.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.4437, allocations: 0.6953 MB / 395.9 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.4439, allocations: 108.2 kB / 396.1 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.4442, allocations: 124.9 kB / 396.2 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.4454, allocations: 0.7663 MB / 396.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.4454, allocations: 0 / 396.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4454, allocations: 3.938 kB / 396.9 MB, free: 4.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.4454, allocations: 0 / 396.9 MB, free: 4.32 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001198/0.4466, allocations: 0.6831 MB / 397.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.4467, allocations: 12.47 kB / 397.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006411/0.4474, allocations: 80.38 kB / 397.7 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.4479, allocations: 323.5 kB / 398 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.4479, allocations: 29.75 kB / 398.1 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.448, allocations: 37.22 kB / 398.1 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.4487, allocations: 466.3 kB / 398.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4488, allocations: 2 kB / 398.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.4488, allocations: 25.55 kB / 398.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.4488, allocations: 9.75 kB / 398.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.4494, allocations: 307.9 kB / 398.9 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.4625, allocations: 6.725 MB / 405.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.4631, allocations: 278.1 kB / 405.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.4634, allocations: 149.7 kB / 406 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009739/0.4731, allocations: 3.886 MB / 409.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.09e-05/0.4733, allocations: 37.69 kB / 410 MB, free: 10.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 6.041e-06/0.4733, allocations: 0 / 410 MB, free: 10.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01258/0.4859, allocations: 2.489 MB / 412.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.4859, allocations: 59.41 kB / 412.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.4864, allocations: 299.3 kB / 412.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.4865, allocations: 33.7 kB / 412.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.4867, allocations: 220 kB / 413 MB, free: 7.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.4869, allocations: 165.6 kB / 413.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.4869, allocations: 12 kB / 413.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4871, allocations: 350.8 kB / 413.6 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.4874, allocations: 153.1 kB / 413.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.4878, allocations: 279.6 kB / 414 MB, free: 6.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.4882, allocations: 196.7 kB / 414.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4882, allocations: 0 / 414.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001223/0.4894, allocations: 0.5843 MB / 414.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.4895, allocations: 12.03 kB / 414.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4895, allocations: 4 kB / 414.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00588/0.4954, allocations: 0.7712 MB / 415.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004328/0.4958, allocations: 107.8 kB / 415.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.4984, allocations: 2.459 MB / 418.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.499, allocations: 35.95 kB / 418.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.499, allocations: 28 kB / 418.2 MB, free: 2.586 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003572/0.4994, allocations: 177.6 kB / 418.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.4996, allocations: 35.53 kB / 418.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.501, allocations: 0.8629 MB / 419.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.501, allocations: 7.984 kB / 419.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.501, allocations: 0 / 419.3 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.5022, allocations: 0.9613 MB / 420.2 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.5047, allocations: 1.496 MB / 421.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.5047, allocations: 0 / 421.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.505, allocations: 71.91 kB / 421.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003174/0.5082, allocations: 0.6414 MB / 422.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.5083, allocations: 11.98 kB / 422.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.5094, allocations: 1.28 MB / 423.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5094, allocations: 0 / 423.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.5112, allocations: 1.223 MB / 424.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.5115, allocations: 120.5 kB / 425.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5116, allocations: 12 kB / 425.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.512, allocations: 31.83 kB / 425.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.512, allocations: 27.91 kB / 425.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.5121, allocations: 19.98 kB / 425.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002852/0.5124, allocations: 209.9 kB / 425.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5124, allocations: 0 / 425.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001196/0.5136, allocations: 235.9 kB / 425.6 MB, free: 10.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009952/0.5146, allocations: 271.7 kB / 425.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.5159, allocations: 0.6899 MB / 426.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.5159, allocations: 4.812 kB / 426.5 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009611/0.5169, allocations: 424.2 kB / 427 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.5183, allocations: 244.6 kB / 427.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.521, allocations: 1.505 MB / 428.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.5217, allocations: 0.8327 MB / 429.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.5218, allocations: 47.42 kB / 429.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5218, allocations: 0 / 429.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of Templates: time 0.02346/0.5453, allocations: 12.86 MB / 442.4 MB, free: 9.973 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.o] Error 1