Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009675/0.0009677, allocations: 88.67 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 198.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.627/1.627, allocations: 227.3 MB / 246.6 MB, free: 10.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 8 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.158, allocations: 51.48 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2822/0.4403, allocations: 24.94 MB / 383.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004901/0.4452, allocations: 3.89 MB / 387.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000491/0.4457, allocations: 6.094 kB / 387.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007327/0.4465, allocations: 152 kB / 387.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00081/0.4473, allocations: 318.3 kB / 388.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004516/0.4518, allocations: 1.149 MB / 389.2 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.4535, allocations: 1.115 MB / 390.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.4537, allocations: 69.19 kB / 390.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01312/0.4668, allocations: 7.487 MB / 397.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.4674, allocations: 271.7 kB / 398.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.4674, allocations: 16 kB / 398.2 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.4693, allocations: 0.6744 MB / 398.9 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.4694, allocations: 76.59 kB / 398.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.4696, allocations: 92.08 kB / 399 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.4703, allocations: 0.6007 MB / 399.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4703, allocations: 0 / 399.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4703, allocations: 7.938 kB / 399.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.4703, allocations: 0 / 399.6 MB, free: 2.953 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.0007578/0.4711, allocations: 0.5871 MB / 400.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4711, allocations: 10.38 kB / 400.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/0.4716, allocations: 55.42 kB / 400.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4719, allocations: 279.8 kB / 400.6 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4719, allocations: 21.92 kB / 400.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.472, allocations: 29.16 kB / 400.6 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.4724, allocations: 331.5 kB / 400.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4724, allocations: 6.594 kB / 400.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.4725, allocations: 14.84 kB / 400.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.4725, allocations: 7 kB / 401 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.4728, allocations: 206 kB / 401.2 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.484, allocations: 5.918 MB / 407.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.4843, allocations: 180.2 kB / 407.3 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4845, allocations: 85.22 kB / 407.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009268/0.4938, allocations: 3.885 MB / 411.2 MB, free: 7.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.4938, allocations: 30.75 kB / 411.2 MB, free: 7.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.545e-06/0.4938, allocations: 0 / 411.2 MB, free: 7.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005947/0.4998, allocations: 1.427 MB / 412.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.4999, allocations: 59.41 kB / 412.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.5002, allocations: 258.6 kB / 413 MB, free: 5.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.5002, allocations: 29.7 kB / 413 MB, free: 5.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.5003, allocations: 188 kB / 413.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.416e-05/0.5004, allocations: 94.64 kB / 413.3 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.5004, allocations: 4 kB / 413.3 MB, free: 5.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5006, allocations: 342.8 kB / 413.6 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.5007, allocations: 87.97 kB / 413.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.5009, allocations: 179 kB / 413.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.5011, allocations: 120.5 kB / 414 MB, free: 4.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5012, allocations: 0 / 414 MB, free: 4.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007121/0.5019, allocations: 390.7 kB / 414.4 MB, free: 4.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.5019, allocations: 14.77 kB / 414.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5019, allocations: 4.375 kB / 414.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/0.5048, allocations: 405.3 kB / 414.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.505, allocations: 67.91 kB / 414.9 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.5066, allocations: 1.884 MB / 416.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.5069, allocations: 19.94 kB / 416.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.5069, allocations: 20.86 kB / 416.8 MB, free: 1.594 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.0001874/0.5071, allocations: 159 kB / 416.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.5072, allocations: 27.72 kB / 417 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.5079, allocations: 494 kB / 417.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.5079, allocations: 4 kB / 417.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.5079, allocations: 0 / 417.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006805/0.5086, allocations: 0.7202 MB / 418.2 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5099, allocations: 0.9494 MB / 419.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.5099, allocations: 0 / 419.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.5101, allocations: 43.98 kB / 419.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.5117, allocations: 328.4 kB / 419.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.5117, allocations: 8 kB / 419.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000543/0.5123, allocations: 0.6421 MB / 420.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5123, allocations: 0 / 420.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009952/0.5133, allocations: 0.7323 MB / 420.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.5134, allocations: 116.6 kB / 421 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.5135, allocations: 4 kB / 421 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.5137, allocations: 19.92 kB / 421 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.5137, allocations: 16.05 kB / 421 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.5138, allocations: 15.98 kB / 421 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.514, allocations: 178 kB / 421.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.514, allocations: 0 / 421.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008676/0.5149, allocations: 187.9 kB / 421.4 MB, free: 12.73 MB / 334.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.0008555/0.5157, allocations: 267 kB / 421.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008937/0.5167, allocations: 454.5 kB / 422.1 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5167, allocations: 0 / 422.1 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000502/0.5172, allocations: 236.5 kB / 422.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.5182, allocations: 178.1 kB / 422.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.5196, allocations: 0.9811 MB / 423.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.52, allocations: 0.7802 MB / 424.3 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.5201, allocations: 27.44 kB / 424.3 MB, free: 9.758 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5201, allocations: 4 kB / 424.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of Templates: time 0.01245/0.5326, allocations: 8.333 MB / 432.6 MB, free: 1.426 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.o] Error 1