Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007677/0.0007676, allocations: 93.41 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008954/0.0008954, allocations: 198 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002421/0.0002421, allocations: 8 kB / 307.3 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 51.5 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001738/0.1365, allocations: 1.059 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.1507, allocations: 11.15 MB / 371 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.1508, allocations: 0 / 371 MB, free: 1.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.1508, allocations: 3.984 kB / 371 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.1549, allocations: 0.7972 MB / 371.8 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.1571, allocations: 477.7 kB / 372.3 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1572, allocations: 59.72 kB / 372.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.735e-05/0.1573, allocations: 0 / 372.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.1574, allocations: 23.92 kB / 372.4 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.1575, allocations: 35.83 kB / 372.4 MB, free: 492 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1575, allocations: 4 kB / 372.4 MB, free: 488 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2576/0.4151, allocations: 1.37 MB / 373.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.4151, allocations: 11.94 kB / 373.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.4152, allocations: 34.55 kB / 373.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.417, allocations: 0.6756 MB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.417, allocations: 3.375 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.417, allocations: 0 / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.417, allocations: 0.7812 kB / 374.5 MB, free: 9.902 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.0007158/0.4178, allocations: 0.5283 MB / 375 MB, free: 9.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.4178, allocations: 8.656 kB / 375 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.418, allocations: 14.8 kB / 375 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.4181, allocations: 181.3 kB / 375.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.4182, allocations: 2.875 kB / 375.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4182, allocations: 2.938 kB / 375.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.4184, allocations: 66.12 kB / 375.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4184, allocations: 0 / 375.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4185, allocations: 2.156 kB / 375.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4185, allocations: 2 kB / 375.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.4186, allocations: 26.23 kB / 375.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.4188, allocations: 172.6 kB / 375.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.4191, allocations: 82.97 kB / 375.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.4192, allocations: 28.31 kB / 375.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0062/0.4254, allocations: 3.288 MB / 378.9 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4255, allocations: 38.25 kB / 378.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4255, allocations: 0 / 378.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003441/0.4258, allocations: 86.38 kB / 379 MB, free: 6.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.4259, allocations: 79.94 kB / 379.1 MB, free: 6.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.426, allocations: 113.5 kB / 379.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.426, allocations: 28.2 kB / 379.2 MB, free: 6.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.4261, allocations: 84.7 kB / 379.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.4261, allocations: 27.41 kB / 379.3 MB, free: 6.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.4261, allocations: 2.25 kB / 379.3 MB, free: 6.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.4262, allocations: 316 kB / 379.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.4263, allocations: 12.88 kB / 379.7 MB, free: 5.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.4264, allocations: 25.22 kB / 379.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.734e-05/0.4264, allocations: 12.12 kB / 379.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4264, allocations: 1.375 kB / 379.7 MB, free: 5.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000163/0.4266, allocations: 74.34 kB / 379.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4266, allocations: 5.5 kB / 379.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4266, allocations: 0 / 379.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4267, allocations: 1.375 kB / 379.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.4267, allocations: 13.84 kB / 379.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4268, allocations: 320 / 379.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.4268, allocations: 4.703 kB / 379.8 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4268, allocations: 4.844 kB / 379.8 MB, free: 5.84 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 7.257e-05/0.4269, allocations: 118.8 kB / 379.9 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.4269, allocations: 11.98 kB / 379.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.4272, allocations: 104.1 kB / 380 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4272, allocations: 1.188 kB / 380 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4272, allocations: 1.062 kB / 380 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4273, allocations: 6.062 kB / 380 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.4274, allocations: 173.5 kB / 380.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4274, allocations: 0.5 kB / 380.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.4275, allocations: 11.45 kB / 380.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4275, allocations: 5.172 kB / 380.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4275, allocations: 3.25 kB / 380.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4275, allocations: 1.844 kB / 380.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4275, allocations: 0 / 380.2 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.4277, allocations: 101.6 kB / 380.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.4278, allocations: 97 kB / 380.4 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.4278, allocations: 6.344 kB / 380.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.4279, allocations: 4.953 kB / 380.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.4279, allocations: 7.547 kB / 380.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.428, allocations: 4.266 kB / 380.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.428, allocations: 91.03 kB / 380.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.428, allocations: 3.75 kB / 380.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001185/0.4292, allocations: 320.4 kB / 380.8 MB, free: 5.16 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.001355/0.4306, allocations: 0.5728 MB / 381.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.4308, allocations: 32.44 kB / 381.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4308, allocations: 0 / 381.4 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.4309, allocations: 25.02 kB / 381.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4311, allocations: 13.03 kB / 381.5 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.4316, allocations: 215.7 kB / 381.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.4317, allocations: 0.6891 MB / 382.4 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.47e-05/0.4318, allocations: 23.17 kB / 382.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4318, allocations: 0 / 382.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of Templates: time 0.01552/0.4473, allocations: 5.934 MB / 388.3 MB, free: 3.035 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.Inverse_sh_TCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TCalcHelperMain.o] Error 1