Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008261/0.0008261, allocations: 95.72 kB / 17.58 MB, free: 5.801 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.0008415/0.0008416, allocations: 181.5 kB / 18.48 MB, free: 5.254 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.694/1.694, allocations: 205.4 MB / 224.6 MB, free: 13.02 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.000463/0.000463, allocations: 8 kB / 281.4 MB, free: 3.699 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 47.58 MB / 329 MB, free: 4.051 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4306/0.5456, allocations: 169.7 MB / 498.7 MB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.5515, allocations: 4.444 MB / 0.4913 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006702/0.5523, allocations: 4 kB / 0.4914 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009553/0.5532, allocations: 167 kB / 0.4915 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009914/0.5542, allocations: 358.1 kB / 0.4919 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00783/0.5621, allocations: 2.167 MB / 0.494 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.5638, allocations: 1.391 MB / 0.4953 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.5641, allocations: 109.5 kB / 0.4954 GB, free: 7.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003324/0.5674, allocations: 1.197 MB / 0.4966 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.568, allocations: 422.6 kB / 0.497 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.5681, allocations: 28 kB / 0.497 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/0.5752, allocations: 3.479 MB / 0.5004 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.5755, allocations: 199.4 kB / 0.5006 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.5758, allocations: 133.5 kB / 0.5007 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.5793, allocations: 1.89 MB / 0.5026 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5794, allocations: 0 / 0.5026 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5794, allocations: 0 / 0.5026 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.5794, allocations: 0 / 0.5026 GB, free: 260 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002305/0.5817, allocations: 1.033 MB / 0.5036 GB, free: 15.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.5818, allocations: 8.031 kB / 0.5036 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.5822, allocations: 63.38 kB / 0.5037 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.5827, allocations: 358 kB / 0.504 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.5828, allocations: 33.75 kB / 0.504 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.5829, allocations: 44 kB / 0.5041 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009925/0.5839, allocations: 0.5023 MB / 0.5046 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5839, allocations: 7.922 kB / 0.5046 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.584, allocations: 20 kB / 0.5046 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.584, allocations: 12 kB / 0.5046 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.585, allocations: 0.6011 MB / 0.5052 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.5884, allocations: 2.168 MB / 0.5073 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.5895, allocations: 0.5554 MB / 0.5079 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.59, allocations: 270 kB / 0.5081 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/0.5906, allocations: 0.6892 MB / 0.5088 GB, free: 9.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.5907, allocations: 42.98 kB / 0.5088 GB, free: 9.379 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.723e-06/0.5907, allocations: 0 / 0.5088 GB, free: 9.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.01329/0.604, allocations: 3.803 MB / 0.5125 GB, free: 5.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.6041, allocations: 59.97 kB / 0.5126 GB, free: 5.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.6045, allocations: 290.7 kB / 0.5129 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.6046, allocations: 41.7 kB / 0.5129 GB, free: 5.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.6047, allocations: 193.1 kB / 0.5131 GB, free: 4.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.6049, allocations: 220.7 kB / 0.5133 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.605, allocations: 20 kB / 0.5133 GB, free: 4.637 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.6052, allocations: 350.8 kB / 0.5137 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007017/0.6059, allocations: 309.1 kB / 0.514 GB, free: 3.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.6066, allocations: 400 kB / 0.5143 GB, free: 3.574 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007703/0.6074, allocations: 359.1 kB / 0.5147 GB, free: 3.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6074, allocations: 0 / 0.5147 GB, free: 3.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002182/0.6096, allocations: 0.9688 MB / 0.5156 GB, free: 2.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6096, allocations: 4 kB / 0.5156 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.6096, allocations: 3.938 kB / 0.5156 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.6112, allocations: 362.3 kB / 0.516 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.6118, allocations: 115.9 kB / 0.5161 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.6158, allocations: 3.522 MB / 0.5195 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.6165, allocations: 67.88 kB / 0.5196 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.6166, allocations: 27.98 kB / 0.5196 GB, free: 13.86 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * 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 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003501/0.6169, allocations: 189.7 kB / 0.5198 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.617, allocations: 43.53 kB / 0.5199 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.6197, allocations: 1.037 MB / 0.5209 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6197, allocations: 8 kB / 0.5209 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.6197, allocations: 3.953 kB / 0.5209 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002125/0.6218, allocations: 1.079 MB / 0.5219 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/0.6252, allocations: 1.725 MB / 0.5236 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6253, allocations: 0 / 0.5236 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.6259, allocations: 115.8 kB / 0.5237 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.6277, allocations: 392.4 kB / 0.5241 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.6278, allocations: 23.98 kB / 0.5241 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.6292, allocations: 0.8763 MB / 0.525 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6292, allocations: 0 / 0.525 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.632, allocations: 1.364 MB / 0.5263 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.6321, allocations: 124.6 kB / 0.5264 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.6322, allocations: 23.92 kB / 0.5264 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.6329, allocations: 55.95 kB / 0.5265 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.633, allocations: 44.5 kB / 0.5265 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.633, allocations: 31.97 kB / 0.5266 GB, free: 6.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003186/0.6334, allocations: 221.9 kB / 0.5268 GB, free: 6.285 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.224e-06/0.6334, allocations: 0 / 0.5268 GB, free: 6.285 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001485/0.6349, allocations: 459.6 kB / 0.5272 GB, free: 5.836 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.6362, allocations: 0.5579 MB / 0.5278 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.6382, allocations: 0.9974 MB / 0.5287 GB, free: 4.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6382, allocations: 4 kB / 0.5287 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008498/0.6391, allocations: 419.2 kB / 0.5291 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.6405, allocations: 300.5 kB / 0.5294 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.6435, allocations: 1.593 MB / 0.531 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.644, allocations: 0.8571 MB / 0.5318 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.6442, allocations: 59.42 kB / 0.5319 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6442, allocations: 0 / 0.5319 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of Templates: time 0.2249/0.8691, allocations: 17.37 MB / 0.5488 GB, free: 156.8 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.MoistAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1