Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 95.55 kB / 18 MB, free: 5.602 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.001281/0.001281, allocations: 179.1 kB / 18.91 MB, free: 4.734 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.476/1.476, allocations: 223.3 MB / 242.9 MB, free: 36 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 44.26 MB / 338.3 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003668, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5685/0.7138, allocations: 145.2 MB / 0.6037 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.7153, allocations: 0.9862 MB / 0.6046 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.7153, allocations: 4 kB / 0.6046 GB, free: 500 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.7156, allocations: 30.38 kB / 0.6047 GB, free: 472 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005599/0.7162, allocations: 212 kB / 0.6049 GB, free: 264 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.7166, allocations: 103.8 kB / 0.605 GB, free: 160 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.7169, allocations: 211.2 kB / 0.6052 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.7169, allocations: 4 kB / 0.6052 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.7171, allocations: 93.66 kB / 0.6053 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.7172, allocations: 47.83 kB / 0.6053 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.7173, allocations: 4 kB / 0.6053 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.7178, allocations: 267.6 kB / 0.6056 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.7179, allocations: 15.92 kB / 0.6056 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.707e-05/0.7179, allocations: 77.48 kB / 0.6056 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.7183, allocations: 191.6 kB / 0.6058 GB, free: 15.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7183, allocations: 4 kB / 0.6058 GB, free: 15.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.7183, allocations: 4 kB / 0.6058 GB, free: 15.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.7183, allocations: 0 / 0.6058 GB, free: 15.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005163/0.7188, allocations: 387.9 kB / 0.6062 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.7189, allocations: 8.031 kB / 0.6062 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.7209, allocations: 184.6 kB / 0.6064 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.7212, allocations: 212 kB / 0.6066 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.7213, allocations: 8 kB / 0.6066 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.7213, allocations: 16.59 kB / 0.6066 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.7219, allocations: 218.6 kB / 0.6068 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7219, allocations: 4 kB / 0.6068 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.7219, allocations: 4 kB / 0.6068 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.7219, allocations: 7.984 kB / 0.6068 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.7224, allocations: 171.8 kB / 0.607 GB, free: 13.96 MB / 446.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.001277/0.7237, allocations: 0.5681 MB / 0.6076 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.7242, allocations: 154.4 kB / 0.6077 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.7244, allocations: 68.83 kB / 0.6078 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.7245, allocations: 4 kB / 0.6078 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.7245, allocations: 30.56 kB / 0.6078 GB, free: 13.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/0.7246, allocations: 0 / 0.6078 GB, free: 13.06 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005638/0.7302, allocations: 1.308 MB / 0.6091 GB, free: 11.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.7303, allocations: 59.39 kB / 0.6091 GB, free: 11.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.7304, allocations: 105.8 kB / 0.6092 GB, free: 11.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.7305, allocations: 29.7 kB / 0.6093 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.7305, allocations: 92.03 kB / 0.6094 GB, free: 11.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.7306, allocations: 78.94 kB / 0.6094 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.7307, allocations: 17.72 kB / 0.6095 GB, free: 11.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7308, allocations: 322.8 kB / 0.6098 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.731, allocations: 67.97 kB / 0.6098 GB, free: 10.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.7311, allocations: 107.2 kB / 0.6099 GB, free: 10.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.7315, allocations: 188.8 kB / 0.6101 GB, free: 10.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.7315, allocations: 0 / 0.6101 GB, free: 10.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004896/0.732, allocations: 258.2 kB / 0.6104 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.732, allocations: 8 kB / 0.6104 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.732, allocations: 0 / 0.6104 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.7322, allocations: 56.86 kB / 0.6104 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.7326, allocations: 53.03 kB / 0.6105 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004907/0.7331, allocations: 0.568 MB / 0.611 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.7333, allocations: 7.906 kB / 0.611 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.7333, allocations: 28.08 kB / 0.6111 GB, free: 9.535 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001334/0.7335, allocations: 125.8 kB / 0.6112 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.7335, allocations: 11.91 kB / 0.6112 GB, free: 9.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008425/0.7344, allocations: 350.9 kB / 0.6115 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7344, allocations: 4 kB / 0.6115 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7344, allocations: 3.984 kB / 0.6115 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7344, allocations: 4 kB / 0.6115 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.7355, allocations: 0.6151 MB / 0.6121 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7355, allocations: 4 kB / 0.6121 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.7358, allocations: 59.95 kB / 0.6122 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.275e-05/0.7359, allocations: 24.94 kB / 0.6122 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.7359, allocations: 15.98 kB / 0.6122 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009291/0.7369, allocations: 1.268 MB / 0.6135 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7369, allocations: 3.938 kB / 0.6135 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.7376, allocations: 433.9 kB / 0.6139 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.7377, allocations: 96.88 kB / 0.614 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.7377, allocations: 8 kB / 0.614 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.738, allocations: 11.98 kB / 0.614 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.738, allocations: 19.97 kB / 0.614 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.7381, allocations: 28 kB / 0.614 GB, free: 6.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.915e-05/0.7381, allocations: 91.2 kB / 0.6141 GB, free: 6.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7381, allocations: 0 / 0.6141 GB, free: 6.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.7386, allocations: 84 kB / 0.6142 GB, free: 6.035 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003701/0.7389, allocations: 147.7 kB / 0.6144 GB, free: 5.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.7395, allocations: 219.6 kB / 0.6146 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7395, allocations: 0 / 0.6146 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.7399, allocations: 218.6 kB / 0.6148 GB, free: 5.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.7405, allocations: 45.42 kB / 0.6148 GB, free: 5.398 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.7414, allocations: 0.6035 MB / 0.6154 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.7418, allocations: 0.7015 MB / 0.6161 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.742, allocations: 55.39 kB / 0.6161 GB, free: 3.973 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.7421, allocations: 4 kB / 0.6161 GB, free: 3.969 MB / 446.1 MB Notification: Performance of Templates: time 0.006806/0.7489, allocations: 3.78 MB / 0.6198 GB, free: 196 kB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o] Error 1