Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001157, allocations: 96.72 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.00215/0.00215, allocations: 202.7 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.549/1.549, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2678/0.2678, allocations: 45.91 MB / 344.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 8 kB / 418.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1579, allocations: 63.47 MB / 482.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5694/0.7274, allocations: 159.1 MB / 0.6262 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00852/0.736, allocations: 5.082 MB / 0.6311 GB, free: 2.301 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.7372, allocations: 23.81 kB / 0.6312 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009709/0.7381, allocations: 258.3 kB / 0.6314 GB, free: 2.023 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003513/0.7417, allocations: 1.088 MB / 0.6325 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.7441, allocations: 0.7545 MB / 0.6332 GB, free: 192 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002836/0.747, allocations: 2.257 MB / 0.6354 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006779/0.7477, allocations: 373.9 kB / 0.6358 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.7498, allocations: 0.9107 MB / 0.6367 GB, free: 12.64 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009712/0.7508, allocations: 0.6502 MB / 0.6373 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.7509, allocations: 32 kB / 0.6373 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.7523, allocations: 467.3 kB / 0.6378 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.7526, allocations: 235.3 kB / 0.638 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.7528, allocations: 169.3 kB / 0.6382 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.7539, allocations: 0.9295 MB / 0.6391 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7539, allocations: 3.938 kB / 0.6391 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7539, allocations: 0 / 0.6391 GB, free: 10.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.7539, allocations: 4 kB / 0.6391 GB, free: 10.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001964/0.7559, allocations: 0.951 MB / 0.64 GB, free: 9.156 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.756, allocations: 8.031 kB / 0.64 GB, free: 9.148 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.7568, allocations: 143 kB / 0.6401 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009561/0.7577, allocations: 497.1 kB / 0.6406 GB, free: 8.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.7579, allocations: 100.4 kB / 0.6407 GB, free: 8.371 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.758, allocations: 48 kB / 0.6408 GB, free: 8.324 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.7595, allocations: 0.8174 MB / 0.6416 GB, free: 7.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.7595, allocations: 3.938 kB / 0.6416 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.7596, allocations: 24 kB / 0.6416 GB, free: 7.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/0.7597, allocations: 48.92 kB / 0.6416 GB, free: 7.352 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.7609, allocations: 0.6166 MB / 0.6422 GB, free: 6.738 MB / 478.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.005788/0.7667, allocations: 3.938 MB / 0.6461 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.7674, allocations: 351.6 kB / 0.6464 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.7677, allocations: 173.3 kB / 0.6466 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.7679, allocations: 89.38 kB / 0.6467 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.768, allocations: 46.84 kB / 0.6467 GB, free: 1.867 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.464e-06/0.768, allocations: 0 / 0.6467 GB, free: 1.867 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005672/0.7737, allocations: 1.664 MB / 0.6483 GB, free: 132 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.7738, allocations: 136.6 kB / 0.6485 GB, free: 15.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007752/0.7746, allocations: 0.6132 MB / 0.6491 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.7747, allocations: 29.7 kB / 0.6491 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.775, allocations: 370.8 kB / 0.6494 GB, free: 14.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.7752, allocations: 142.1 kB / 0.6496 GB, free: 14.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.7752, allocations: 12 kB / 0.6496 GB, free: 14.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.7754, allocations: 374.8 kB / 0.6499 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.7758, allocations: 201.9 kB / 0.6501 GB, free: 14.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.7764, allocations: 0.5124 MB / 0.6506 GB, free: 13.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.7769, allocations: 292.4 kB / 0.6509 GB, free: 13.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7769, allocations: 7.984 kB / 0.6509 GB, free: 13.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00143/0.7783, allocations: 0.8722 MB / 0.6518 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.7783, allocations: 8 kB / 0.6518 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.7784, allocations: 8 kB / 0.6518 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.7797, allocations: 321 kB / 0.6521 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.7801, allocations: 123.8 kB / 0.6522 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.7813, allocations: 0.9325 MB / 0.6531 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.7818, allocations: 47.92 kB / 0.6532 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/0.7819, allocations: 71.98 kB / 0.6532 GB, free: 10.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003614/0.7823, allocations: 250 kB / 0.6535 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.7824, allocations: 71.16 kB / 0.6536 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.7841, allocations: 0.8651 MB / 0.6544 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.7842, allocations: 4 kB / 0.6544 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7842, allocations: 0 / 0.6544 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7842, allocations: 0 / 0.6544 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.7863, allocations: 1.457 MB / 0.6558 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7863, allocations: 0 / 0.6558 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009617/0.7873, allocations: 212 kB / 0.656 GB, free: 7.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.189e-05/0.7874, allocations: 28.84 kB / 0.6561 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.279e-05/0.7874, allocations: 19.98 kB / 0.6561 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.7895, allocations: 2.692 MB / 0.6587 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.7895, allocations: 0 / 0.6587 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.7909, allocations: 0.8243 MB / 0.6595 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.7912, allocations: 192.2 kB / 0.6597 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.404e-05/0.7913, allocations: 15.98 kB / 0.6597 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.7917, allocations: 24.05 kB / 0.6597 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.7918, allocations: 47.84 kB / 0.6598 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.7918, allocations: 39.98 kB / 0.6598 GB, free: 3.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005351/0.7924, allocations: 427 kB / 0.6602 GB, free: 3.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7924, allocations: 0 / 0.6602 GB, free: 3.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001011/0.7934, allocations: 263.9 kB / 0.6605 GB, free: 2.977 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007741/0.7942, allocations: 292.4 kB / 0.6607 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.7953, allocations: 0.5516 MB / 0.6613 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.7953, allocations: 7.938 kB / 0.6613 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008847/0.7962, allocations: 399 kB / 0.6617 GB, free: 1.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.7977, allocations: 341.1 kB / 0.662 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.7999, allocations: 1.614 MB / 0.6636 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.8005, allocations: 0.9261 MB / 0.6645 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/0.8009, allocations: 127.4 kB / 0.6646 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of SimCode: time 7.62e-07/0.8009, allocations: 0 / 0.6646 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.02267/0.8235, allocations: 16.35 MB / 0.6806 GB, free: 14.36 MB / 0.5138 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o] Error 1