Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 93.67 kB / 16.95 MB, free: 5.676 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.001934/0.001934, allocations: 183.3 kB / 17.85 MB, free: 5.32 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.639/1.639, allocations: 223.2 MB / 241.8 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 8 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.3147/0.4489, allocations: 24.52 MB / 376.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003989/0.4529, allocations: 2.078 MB / 378.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.4531, allocations: 1.812 kB / 378.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.4535, allocations: 38.19 kB / 378.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.454, allocations: 139.3 kB / 378.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/0.4719, allocations: 4.838 MB / 383.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007577/0.4727, allocations: 387.5 kB / 383.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.4728, allocations: 8.359 kB / 383.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.4732, allocations: 126.8 kB / 384 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.4736, allocations: 123.6 kB / 384.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.4737, allocations: 7.125 kB / 384.1 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0219/0.4956, allocations: 8.31 MB / 392.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.4958, allocations: 69 kB / 392.5 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.496, allocations: 53.27 kB / 392.5 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00973/0.5057, allocations: 3.015 MB / 395.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5058, allocations: 3.812 kB / 395.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5058, allocations: 0 / 395.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.5058, allocations: 0 / 395.6 MB, free: 5.652 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.005027/0.5108, allocations: 1.072 MB / 396.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5109, allocations: 12.47 kB / 396.6 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.5111, allocations: 30.75 kB / 396.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.5114, allocations: 207.3 kB / 396.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5114, allocations: 11.27 kB / 396.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.5115, allocations: 20.58 kB / 396.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.5122, allocations: 293.8 kB / 397.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.5122, allocations: 6.031 kB / 397.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.5123, allocations: 5.5 kB / 397.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.5123, allocations: 5.656 kB / 397.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.513, allocations: 309.7 kB / 397.5 MB, free: 4.457 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.5145, allocations: 0.8217 MB / 398.3 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.5152, allocations: 253.2 kB / 398.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.5155, allocations: 128.4 kB / 398.7 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/0.5318, allocations: 12.92 MB / 411.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.5319, allocations: 38.56 kB / 411.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.946e-06/0.5319, allocations: 0 / 411.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002895/0.5348, allocations: 0.6852 MB / 412.4 MB, free: 4.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.5348, allocations: 81.11 kB / 412.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.535, allocations: 133.7 kB / 412.6 MB, free: 4.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.535, allocations: 33.7 kB / 412.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.5351, allocations: 108.8 kB / 412.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.5352, allocations: 117.6 kB / 412.8 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.5353, allocations: 8 kB / 412.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5354, allocations: 334.8 kB / 413.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.5358, allocations: 131.9 kB / 413.3 MB, free: 3.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.5363, allocations: 207.5 kB / 413.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/0.5368, allocations: 159.9 kB / 413.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5368, allocations: 3.953 kB / 413.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00108/0.5379, allocations: 421.4 kB / 414.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5379, allocations: 8 kB / 414.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5379, allocations: 0 / 414.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5379, allocations: 4 kB / 414.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.5384, allocations: 95.19 kB / 414.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.5384, allocations: 4 kB / 414.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.5387, allocations: 40.03 kB / 414.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.5388, allocations: 12 kB / 414.2 MB, free: 2.512 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.539, allocations: 141.8 kB / 414.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.5391, allocations: 23.77 kB / 414.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.5396, allocations: 191.1 kB / 414.6 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.5396, allocations: 4 kB / 414.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.5397, allocations: 3.984 kB / 414.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5397, allocations: 3.938 kB / 414.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.5413, allocations: 0.7549 MB / 415.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5413, allocations: 0 / 415.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.5417, allocations: 79.88 kB / 415.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5417, allocations: 4 kB / 415.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.5418, allocations: 15.98 kB / 415.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.5418, allocations: 7.891 kB / 415.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5418, allocations: 4.156 kB / 415.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.5432, allocations: 0.699 MB / 416.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.5434, allocations: 120.9 kB / 416.3 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.5434, allocations: 12 kB / 416.3 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.5438, allocations: 27.97 kB / 416.3 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.5438, allocations: 23.92 kB / 416.3 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.5439, allocations: 16 kB / 416.3 MB, free: 268 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.503e-05/0.5439, allocations: 99.2 kB / 416.4 MB, free: 168 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5439, allocations: 0 / 416.4 MB, free: 168 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.004537/0.5485, allocations: 0.937 MB / 417.4 MB, free: 15.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/0.5539, allocations: 1.173 MB / 418.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.5549, allocations: 342.1 kB / 418.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.555, allocations: 0 / 418.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004256/0.5554, allocations: 175.8 kB / 419 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.5561, allocations: 96.92 kB / 419.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.5579, allocations: 0.7592 MB / 419.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.5583, allocations: 0.7301 MB / 420.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.5585, allocations: 51.41 kB / 420.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5585, allocations: 3.938 kB / 420.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of Templates: time 0.0358/0.5943, allocations: 19.64 MB / 440.3 MB, free: 8.27 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAirCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAirCalcHelperMain.o] Error 1