Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 89.48 kB / 17.63 MB, free: 6.16 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.001038/0.001038, allocations: 181.8 kB / 18.52 MB, free: 5.32 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.565/1.565, allocations: 223.2 MB / 242.5 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2508/0.2508, allocations: 44.23 MB / 337.9 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003771, allocations: 8.688 kB / 410.3 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.162, allocations: 61.93 MB / 472.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6041/0.7661, allocations: 159 MB / 0.6164 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00898/0.7752, allocations: 5.092 MB / 0.6214 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.7765, allocations: 23.81 kB / 0.6214 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.7775, allocations: 266.4 kB / 0.6217 GB, free: 14.73 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.004045/0.7816, allocations: 1.077 MB / 0.6227 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.7843, allocations: 0.748 MB / 0.6234 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003467/0.7877, allocations: 2.242 MB / 0.6256 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008931/0.7886, allocations: 386.8 kB / 0.626 GB, free: 10.28 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.7913, allocations: 0.899 MB / 0.6269 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.7924, allocations: 0.6657 MB / 0.6275 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.7925, allocations: 32 kB / 0.6276 GB, free: 8.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.7942, allocations: 455.4 kB / 0.628 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.7945, allocations: 231.2 kB / 0.6282 GB, free: 8.004 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.7948, allocations: 161.4 kB / 0.6284 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.7959, allocations: 0.9257 MB / 0.6293 GB, free: 6.914 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.7959, allocations: 4 kB / 0.6293 GB, free: 6.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.796, allocations: 3.938 kB / 0.6293 GB, free: 6.906 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.796, allocations: 0 / 0.6293 GB, free: 6.906 MB / 462.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.002076/0.798, allocations: 0.9627 MB / 0.6302 GB, free: 5.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7981, allocations: 8.562 kB / 0.6302 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.7989, allocations: 127.1 kB / 0.6303 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008116/0.7997, allocations: 496.6 kB / 0.6308 GB, free: 5.234 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.7998, allocations: 108.3 kB / 0.6309 GB, free: 5.121 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/0.7999, allocations: 48 kB / 0.631 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.8013, allocations: 0.8135 MB / 0.6318 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.8013, allocations: 7.938 kB / 0.6318 GB, free: 4.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.8014, allocations: 24 kB / 0.6318 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/0.8015, allocations: 40.98 kB / 0.6318 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.8026, allocations: 0.6321 MB / 0.6324 GB, free: 3.484 MB / 462.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.004972/0.8076, allocations: 3.95 MB / 0.6363 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006304/0.8082, allocations: 365.8 kB / 0.6367 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.8085, allocations: 165.3 kB / 0.6368 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.8087, allocations: 97.31 kB / 0.6369 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.8087, allocations: 38.84 kB / 0.6369 GB, free: 14.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.8087, allocations: 0 / 0.6369 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005267/0.814, allocations: 1.657 MB / 0.6386 GB, free: 12.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.8141, allocations: 136.5 kB / 0.6387 GB, free: 12.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/0.8149, allocations: 0.5977 MB / 0.6393 GB, free: 12.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.815, allocations: 37.7 kB / 0.6393 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.8153, allocations: 370.8 kB / 0.6397 GB, free: 11.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.8154, allocations: 138.1 kB / 0.6398 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.8155, allocations: 23.94 kB / 0.6398 GB, free: 11.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.8157, allocations: 374.8 kB / 0.6402 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.816, allocations: 201.9 kB / 0.6404 GB, free: 10.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/0.8167, allocations: 0.5047 MB / 0.6409 GB, free: 10.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.8172, allocations: 300.5 kB / 0.6411 GB, free: 10 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.8173, allocations: 11.95 kB / 0.6412 GB, free: 9.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001442/0.8187, allocations: 0.8683 MB / 0.642 GB, free: 9.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.8187, allocations: 12.22 kB / 0.642 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.8188, allocations: 12 kB / 0.642 GB, free: 9.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.8201, allocations: 324.6 kB / 0.6423 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.8205, allocations: 123.8 kB / 0.6425 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.8216, allocations: 0.9332 MB / 0.6434 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.8222, allocations: 47.91 kB / 0.6434 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.8223, allocations: 60 kB / 0.6435 GB, free: 7.582 MB / 478.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.000389/0.8227, allocations: 245.7 kB / 0.6437 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.8228, allocations: 75.11 kB / 0.6438 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.8245, allocations: 0.8696 MB / 0.6446 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8246, allocations: 4 kB / 0.6446 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.8246, allocations: 0 / 0.6446 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.8246, allocations: 3.984 kB / 0.6446 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.8267, allocations: 1.45 MB / 0.646 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.8267, allocations: 4 kB / 0.6461 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/0.8277, allocations: 211.9 kB / 0.6463 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.8278, allocations: 24.84 kB / 0.6463 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.8279, allocations: 20 kB / 0.6463 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.8301, allocations: 2.688 MB / 0.6489 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.8301, allocations: 11.95 kB / 0.6489 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.8314, allocations: 0.8053 MB / 0.6497 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.8318, allocations: 196.1 kB / 0.6499 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.8319, allocations: 11.94 kB / 0.6499 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.8323, allocations: 27.98 kB / 0.6499 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8324, allocations: 40.02 kB / 0.65 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.8325, allocations: 47.98 kB / 0.65 GB, free: 388 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007253/0.8332, allocations: 431 kB / 0.6504 GB, free: 15.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8332, allocations: 0 / 0.6504 GB, free: 15.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001217/0.8345, allocations: 251.9 kB / 0.6507 GB, free: 15.71 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.0009207/0.8354, allocations: 297 kB / 0.651 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.8368, allocations: 0.5583 MB / 0.6515 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8369, allocations: 0 / 0.6515 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.8379, allocations: 398.4 kB / 0.6519 GB, free: 14.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.8399, allocations: 340.1 kB / 0.6522 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.843, allocations: 1.616 MB / 0.6538 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.8437, allocations: 0.93 MB / 0.6547 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.8441, allocations: 127.4 kB / 0.6548 GB, free: 11.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8442, allocations: 0 / 0.6548 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Templates: time 0.02658/0.8707, allocations: 16.27 MB / 0.6707 GB, free: 11.18 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile make -j1 -f ModelicaTest_4.0.0_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/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 OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o] Error 1