Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009305, allocations: 91.28 kB / 16.95 MB, free: 5.551 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.00112/0.00112, allocations: 191.1 kB / 17.85 MB, free: 5.227 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.528/1.528, allocations: 223.3 MB / 241.9 MB, free: 244 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 9.656 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001758/0.1429, allocations: 1.068 MB / 352.9 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2835/0.4264, allocations: 22.03 MB / 375 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.4265, allocations: 0.75 kB / 375 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.4266, allocations: 4.641 kB / 375 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.4417, allocations: 4.489 MB / 379.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4428, allocations: 210 kB / 379.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.443, allocations: 85.55 kB / 379.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.443, allocations: 2.797 kB / 379.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.4431, allocations: 32.19 kB / 379.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.4433, allocations: 41.97 kB / 379.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.4433, allocations: 8.047 kB / 379.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02012/0.4634, allocations: 7.753 MB / 387.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.4635, allocations: 18.25 kB / 387.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.4636, allocations: 32.05 kB / 387.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007583/0.4711, allocations: 2.781 MB / 390.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4712, allocations: 0 / 390.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4712, allocations: 0 / 390.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4712, allocations: 0 / 390.4 MB, free: 6.715 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003333/0.4745, allocations: 0.8997 MB / 391.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4746, allocations: 8 kB / 391.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.4746, allocations: 11.12 kB / 391.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.4748, allocations: 197.1 kB / 391.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4748, allocations: 1.812 kB / 391.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.4749, allocations: 2.984 kB / 391.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.475, allocations: 74.59 kB / 391.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.475, allocations: 0 / 391.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4751, allocations: 2.125 kB / 391.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4751, allocations: 4.547 kB / 391.6 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.4752, allocations: 40.91 kB / 391.6 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.4754, allocations: 181.8 kB / 391.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.4757, allocations: 92.92 kB / 391.9 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.4757, allocations: 40.64 kB / 392 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/0.4758, allocations: 14.27 kB / 392 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.4758, allocations: 37.3 kB / 392 MB, free: 5.406 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4758, allocations: 0 / 392 MB, free: 5.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002796/0.4761, allocations: 105 kB / 392.1 MB, free: 5.352 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.4762, allocations: 77.11 kB / 392.2 MB, free: 5.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4763, allocations: 146.7 kB / 392.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.4763, allocations: 27.08 kB / 392.3 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.4763, allocations: 83.95 kB / 392.4 MB, free: 5.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.4764, allocations: 23.05 kB / 392.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.4764, allocations: 0 / 392.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.4764, allocations: 314.5 kB / 392.8 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.4765, allocations: 18.73 kB / 392.8 MB, free: 4.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/0.4766, allocations: 32.7 kB / 392.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.4766, allocations: 27.3 kB / 392.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4766, allocations: 0 / 392.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001559/0.4768, allocations: 78.83 kB / 392.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4768, allocations: 4.875 kB / 392.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4768, allocations: 1.094 kB / 392.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4768, allocations: 3.953 kB / 392.9 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.275e-05/0.4769, allocations: 19 kB / 392.9 MB, free: 4.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4769, allocations: 5.328 kB / 392.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.477, allocations: 8.031 kB / 393 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.477, allocations: 2.344 kB / 393 MB, free: 4.609 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 6.169e-05/0.4771, allocations: 111.1 kB / 393.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.4771, allocations: 7.438 kB / 393.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.4773, allocations: 103.4 kB / 393.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4773, allocations: 3.953 kB / 393.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4773, allocations: 1.219 kB / 393.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4773, allocations: 1.281 kB / 393.2 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.4775, allocations: 186.4 kB / 393.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4775, allocations: 1.375 kB / 393.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.4775, allocations: 8.656 kB / 393.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4775, allocations: 1.312 kB / 393.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4776, allocations: 3.625 kB / 393.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4776, allocations: 1.422 kB / 393.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4776, allocations: 4.641 kB / 393.4 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.4777, allocations: 113 kB / 393.5 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.4778, allocations: 96.95 kB / 393.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4778, allocations: 3.406 kB / 393.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.4779, allocations: 9.391 kB / 393.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.478, allocations: 7.328 kB / 393.6 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.478, allocations: 6.25 kB / 393.6 MB, free: 4.016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.641e-05/0.478, allocations: 111.1 kB / 393.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4781, allocations: 1.281 kB / 393.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003638/0.4817, allocations: 0.9285 MB / 394.7 MB, free: 3.777 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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.003936/0.4856, allocations: 1.208 MB / 395.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.4859, allocations: 49.5 kB / 395.9 MB, free: 3.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4859, allocations: 0 / 395.9 MB, free: 3.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.4859, allocations: 26.17 kB / 395.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.4862, allocations: 23.06 kB / 396 MB, free: 3.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.4867, allocations: 242.4 kB / 396.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.4869, allocations: 0.6859 MB / 396.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.4869, allocations: 18.2 kB / 396.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4869, allocations: 0 / 396.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of Templates: time 0.03241/0.5193, allocations: 18.06 MB / 415 MB, free: 1.555 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.Inverse_sh_TXCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TXCalcHelperMain.o] Error 1