Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001406/0.001406, allocations: 94.52 kB / 17.63 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 202 kB / 18.54 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.000263, allocations: 11.98 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.171, allocations: 51.48 MB / 358.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.352/0.523, allocations: 60.6 MB / 419.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00794/0.5311, allocations: 5.101 MB / 424.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008454/0.532, allocations: 6.156 kB / 424.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.5332, allocations: 240.9 kB / 424.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.5344, allocations: 491.1 kB / 425.2 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02107/0.5555, allocations: 5.473 MB / 430.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.5584, allocations: 1.91 MB / 432.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.5589, allocations: 151.9 kB / 432.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.5599, allocations: 0.5333 MB / 433.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.5609, allocations: 0.545 MB / 433.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.887e-05/0.561, allocations: 40 kB / 433.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02156/0.5825, allocations: 8.626 MB / 442.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006799/0.5833, allocations: 279.2 kB / 442.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.5837, allocations: 165.5 kB / 442.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01042/0.5942, allocations: 3.859 MB / 446.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5942, allocations: 4 kB / 446.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5942, allocations: 0 / 446.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.5942, allocations: 0 / 446.8 MB, free: 4.172 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00449/0.5987, allocations: 1.42 MB / 448.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5988, allocations: 12.03 kB / 448.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.5992, allocations: 87.19 kB / 448.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.5999, allocations: 421.1 kB / 448.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.5999, allocations: 45.31 kB / 448.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6, allocations: 67.98 kB / 448.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.6018, allocations: 0.799 MB / 449.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.6018, allocations: 7.906 kB / 449.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.6019, allocations: 31.94 kB / 449.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.602, allocations: 12 kB / 449.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.6038, allocations: 1.032 MB / 450.7 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.622, allocations: 12.82 MB / 463.5 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.6239, allocations: 0.7571 MB / 464.3 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006125/0.6245, allocations: 402.7 kB / 464.7 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01577/0.6403, allocations: 12.3 MB / 477 MB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.709e-05/0.6404, allocations: 47.22 kB / 477 MB, free: 1.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.487e-06/0.6404, allocations: 4 kB / 477 MB, free: 1.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.01102/0.6514, allocations: 3.427 MB / 480.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.6516, allocations: 60.41 kB / 480.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.6522, allocations: 356.5 kB / 480.8 MB, free: 13.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.6524, allocations: 41.7 kB / 480.9 MB, free: 13.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.6526, allocations: 240.6 kB / 481.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.653, allocations: 307.6 kB / 481.4 MB, free: 12.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.6531, allocations: 16 kB / 481.4 MB, free: 12.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.6534, allocations: 362.8 kB / 481.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007329/0.6541, allocations: 369.8 kB / 482.2 MB, free: 12.01 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.6552, allocations: 492.1 kB / 482.6 MB, free: 11.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.6563, allocations: 438.8 kB / 483.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6563, allocations: 0 / 483.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002775/0.6591, allocations: 1.109 MB / 484.2 MB, free: 9.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.6592, allocations: 11.95 kB / 484.2 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6592, allocations: 0 / 484.2 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008708/0.66, allocations: 175.5 kB / 484.4 MB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/0.6608, allocations: 183.7 kB / 484.5 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.6646, allocations: 3.912 MB / 488.4 MB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.6653, allocations: 63.94 kB / 488.5 MB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6655, allocations: 51.95 kB / 488.6 MB, free: 5.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005112/0.666, allocations: 225.6 kB / 488.8 MB, free: 5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004625/0.6665, allocations: 67.33 kB / 488.8 MB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/0.6692, allocations: 1.284 MB / 490.1 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.6692, allocations: 11.95 kB / 490.1 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6692, allocations: 0 / 490.1 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002021/0.6712, allocations: 1.32 MB / 491.5 MB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.6751, allocations: 1.963 MB / 493.4 MB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.6751, allocations: 4 kB / 493.4 MB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/0.6758, allocations: 163.8 kB / 493.6 MB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.6776, allocations: 301.2 kB / 493.9 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.185e-05/0.6777, allocations: 27.98 kB / 493.9 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009263/0.6786, allocations: 1.289 MB / 495.2 MB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6787, allocations: 192 / 495.2 MB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.6814, allocations: 1.417 MB / 496.6 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.6817, allocations: 140.5 kB / 496.8 MB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.6819, allocations: 24 kB / 496.8 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/0.6826, allocations: 59.8 kB / 496.8 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6827, allocations: 48.92 kB / 496.9 MB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.6828, allocations: 47.95 kB / 496.9 MB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003757/0.6832, allocations: 279 kB / 497.2 MB, free: 12.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6832, allocations: 3.938 kB / 497.2 MB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004929/0.6882, allocations: 1.398 MB / 498.6 MB, free: 10.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008017/0.6962, allocations: 1.608 MB / 0.4885 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.6992, allocations: 1.144 MB / 0.4896 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.6992, allocations: 8.125 kB / 0.4896 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.7005, allocations: 491.1 kB / 0.4901 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.7029, allocations: 373.9 kB / 0.4904 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.7069, allocations: 2.026 MB / 0.4924 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.7076, allocations: 0.9166 MB / 0.4933 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.708, allocations: 91.41 kB / 0.4934 GB, free: 4.113 MB / 414.1 MB Notification: Performance of SimCode: time 1.984e-06/0.708, allocations: 0 / 0.4934 GB, free: 4.113 MB / 414.1 MB Notification: Performance of Templates: time 0.3212/1.029, allocations: 40.78 MB / 0.5332 GB, free: 152.7 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2CalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o] Error 1