Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008725, allocations: 90.22 kB / 16.96 MB, free: 6.441 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.001067/0.001067, allocations: 183.5 kB / 17.85 MB, free: 5.996 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.485/1.485, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 11.94 kB / 301.4 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 50.41 MB / 351.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2885/0.42, allocations: 24.91 MB / 376.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.4254, allocations: 3.884 MB / 380.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.4259, allocations: 2.781 kB / 380.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007116/0.4267, allocations: 160 kB / 380.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009114/0.4276, allocations: 320.8 kB / 381.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004947/0.4325, allocations: 1.145 MB / 382.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.4345, allocations: 1.112 MB / 383.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.4348, allocations: 77.42 kB / 383.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/0.4491, allocations: 7.482 MB / 390.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000538/0.4497, allocations: 267 kB / 391.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.4498, allocations: 14.28 kB / 391.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.4518, allocations: 0.6823 MB / 391.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4519, allocations: 75.95 kB / 392 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.4521, allocations: 94.77 kB / 392.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008575/0.453, allocations: 0.6021 MB / 392.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.453, allocations: 0 / 392.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.453, allocations: 3.062 kB / 392.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.453, allocations: 0 / 392.7 MB, free: 9.219 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000804/0.4538, allocations: 0.584 MB / 393.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4539, allocations: 14 kB / 393.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.4543, allocations: 54.84 kB / 393.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.4546, allocations: 275.2 kB / 393.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4547, allocations: 22.16 kB / 393.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.4547, allocations: 27.97 kB / 393.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.4552, allocations: 341.8 kB / 394 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4552, allocations: 3.938 kB / 394 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.4553, allocations: 13.69 kB / 394 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4553, allocations: 9.031 kB / 394 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.4556, allocations: 210 kB / 394.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.4658, allocations: 5.903 MB / 400.1 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.466, allocations: 178.1 kB / 400.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4662, allocations: 97.19 kB / 400.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007871/0.474, allocations: 3.881 MB / 404.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.4741, allocations: 34.75 kB / 404.3 MB, free: 15.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.595e-06/0.4741, allocations: 0 / 404.3 MB, free: 15.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006063/0.4802, allocations: 1.416 MB / 405.7 MB, free: 14.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4803, allocations: 51.41 kB / 405.8 MB, free: 13.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.4806, allocations: 258.6 kB / 406 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.4806, allocations: 33.7 kB / 406 MB, free: 13.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.4808, allocations: 187.7 kB / 406.2 MB, free: 13.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/0.4809, allocations: 94.64 kB / 406.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.4809, allocations: 8 kB / 406.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4811, allocations: 342.8 kB / 406.7 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.4812, allocations: 87.75 kB / 406.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.4815, allocations: 191 kB / 406.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.4817, allocations: 112 kB / 407 MB, free: 12.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4817, allocations: 0 / 407 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006844/0.4824, allocations: 390.8 kB / 407.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4824, allocations: 4 kB / 407.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4825, allocations: 5.859 kB / 407.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.4853, allocations: 409.6 kB / 407.8 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.4855, allocations: 67.91 kB / 407.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.4872, allocations: 1.876 MB / 409.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.4875, allocations: 28.12 kB / 409.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4875, allocations: 12 kB / 409.8 MB, free: 9.691 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002104/0.4878, allocations: 154.5 kB / 410 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.4878, allocations: 27.72 kB / 410 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007683/0.4886, allocations: 0.4884 MB / 410.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4886, allocations: 8.828 kB / 410.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4886, allocations: 3.938 kB / 410.5 MB, free: 8.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006987/0.4893, allocations: 0.7164 MB / 411.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4906, allocations: 0.9484 MB / 412.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4907, allocations: 4.031 kB / 412.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.4909, allocations: 43.98 kB / 412.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.4924, allocations: 334.9 kB / 412.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.4924, allocations: 4 kB / 412.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004785/0.4929, allocations: 0.6421 MB / 413.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4929, allocations: 4.031 kB / 413.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.494, allocations: 0.7205 MB / 413.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4941, allocations: 108.7 kB / 414 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.4941, allocations: 8.125 kB / 414 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4943, allocations: 15.98 kB / 414 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4944, allocations: 16.08 kB / 414.1 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.4944, allocations: 15.97 kB / 414.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.4946, allocations: 185.9 kB / 414.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4946, allocations: 0 / 414.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008459/0.4955, allocations: 187.9 kB / 414.4 MB, free: 4.836 MB / 318.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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005844/0.4961, allocations: 281.3 kB / 414.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.4969, allocations: 455.1 kB / 415.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4969, allocations: 4 kB / 415.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.4974, allocations: 227.6 kB / 415.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.4987, allocations: 168 kB / 415.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.5001, allocations: 0.9775 MB / 416.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.5005, allocations: 0.7724 MB / 417.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.5006, allocations: 43.42 kB / 417.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5006, allocations: 0 / 417.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of Templates: time 0.0121/0.5127, allocations: 8.342 MB / 425.7 MB, free: 9.543 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.o] Error 1