Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 187.8 kB / 8.52 MB, free: 484 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 221.4 MB / 230.3 MB, free: 13.62 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009349, allocations: 99.42 kB / 281.2 MB, free: 10.57 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1676/0.1676, allocations: 44.15 MB / 376.1 MB, free: 11.73 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1795/0.3471, allocations: 68.04 MB / 444.1 MB, free: 54.29 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08368/0.4308, allocations: 61.9 MB / 0.4942 GB, free: 8.316 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8648/1.296, allocations: 0.5093 GB / 1.003 GB, free: 112.8 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/1.296, allocations: 87.95 kB / 1.004 GB, free: 112.7 MB / 0.5183 GB 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.537/1.833, allocations: 203.2 MB / 1.202 GB, free: 110.8 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/1.833, allocations: 10.78 kB / 1.202 GB, free: 110.8 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/1.834, allocations: 137.3 kB / 1.202 GB, free: 110.7 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/1.835, allocations: 0.547 MB / 1.203 GB, free: 110.3 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/1.835, allocations: 84.27 kB / 1.203 GB, free: 110.2 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/1.835, allocations: 32.53 kB / 1.203 GB, free: 110.2 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000922/1.836, allocations: 0.5369 MB / 1.203 GB, free: 110 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.837, allocations: 0.7515 MB / 1.204 GB, free: 109.4 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.837, allocations: 1.188 kB / 1.204 GB, free: 109.4 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/1.838, allocations: 4.188 kB / 1.204 GB, free: 109.4 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/1.838, allocations: 42.2 kB / 1.204 GB, free: 109.4 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/1.842, allocations: 4.088 MB / 1.208 GB, free: 105.8 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/1.842, allocations: 202.8 kB / 1.208 GB, free: 105.7 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/1.842, allocations: 146.5 kB / 1.208 GB, free: 105.6 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/1.842, allocations: 86.92 kB / 1.209 GB, free: 105.5 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/1.842, allocations: 41.86 kB / 1.209 GB, free: 105.5 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/1.842, allocations: 0 / 1.209 GB, free: 105.5 MB / 0.5183 GB Notification: Performance of matching and sorting (n=33): time 0.005063/1.847, allocations: 1.387 MB / 1.21 GB, free: 104.6 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.847, allocations: 133.2 kB / 1.21 GB, free: 104.4 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/1.848, allocations: 461.1 kB / 1.21 GB, free: 104.2 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/1.848, allocations: 26.7 kB / 1.21 GB, free: 104.1 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.848, allocations: 342.5 kB / 1.211 GB, free: 103.8 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/1.848, allocations: 120.1 kB / 1.211 GB, free: 103.7 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/1.848, allocations: 4 kB / 1.211 GB, free: 103.7 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 7.633e-05/1.848, allocations: 364.6 kB / 1.211 GB, free: 103.4 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/1.849, allocations: 187 kB / 1.211 GB, free: 103.3 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/1.849, allocations: 494.2 kB / 1.212 GB, free: 102.8 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/1.85, allocations: 309.7 kB / 1.212 GB, free: 102.7 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/1.85, allocations: 7.875 kB / 1.212 GB, free: 102.7 MB / 0.5183 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00151/1.851, allocations: 0.8042 MB / 1.213 GB, free: 102.3 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.851, allocations: 4.656 kB / 1.213 GB, free: 102.3 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.851, allocations: 18.56 kB / 1.213 GB, free: 102.3 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/1.852, allocations: 283.3 kB / 1.213 GB, free: 102.2 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/1.853, allocations: 117.5 kB / 1.213 GB, free: 102.1 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000966/1.854, allocations: 0.9695 MB / 1.214 GB, free: 101.2 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/1.855, allocations: 27.92 kB / 1.214 GB, free: 101.1 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/1.855, allocations: 71.98 kB / 1.214 GB, free: 101.1 MB / 0.5183 GB 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 () * 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.0001438/1.855, allocations: 132.8 kB / 1.215 GB, free: 100.9 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/1.855, allocations: 59.34 kB / 1.215 GB, free: 100.9 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/1.856, allocations: 0.7382 MB / 1.215 GB, free: 100.1 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/1.856, allocations: 4 kB / 1.215 GB, free: 100.1 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.856, allocations: 4 kB / 1.215 GB, free: 100.1 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.856, allocations: 0 / 1.215 GB, free: 100.1 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.858, allocations: 0.9993 MB / 1.216 GB, free: 99.07 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.858, allocations: 0 / 1.216 GB, free: 99.07 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.859, allocations: 191.8 kB / 1.217 GB, free: 98.88 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-05/1.859, allocations: 20.84 kB / 1.217 GB, free: 98.86 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/1.859, allocations: 12 kB / 1.217 GB, free: 98.84 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/1.86, allocations: 2.591 MB / 1.219 GB, free: 96.03 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.86, allocations: 0 / 1.219 GB, free: 96.03 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008009/1.861, allocations: 0.6936 MB / 1.22 GB, free: 95.3 MB / 0.5183 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001147/1.862, allocations: 1.303 MB / 1.221 GB, free: 93.97 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/1.862, allocations: 180.4 kB / 1.221 GB, free: 93.77 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.862, allocations: 4 kB / 1.221 GB, free: 93.77 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/1.863, allocations: 19.97 kB / 1.221 GB, free: 93.75 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/1.863, allocations: 19.97 kB / 1.221 GB, free: 93.73 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/1.863, allocations: 35.98 kB / 1.221 GB, free: 93.7 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.0003016/1.863, allocations: 350.9 kB / 1.222 GB, free: 93.36 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.001665/1.865, allocations: 371.8 kB / 1.222 GB, free: 92.99 MB / 0.5183 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.001433/1.866, allocations: 1.077 MB / 1.223 GB, free: 92.04 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.000802/1.867, allocations: 0.4885 MB / 1.224 GB, free: 91.55 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.867, allocations: 0 / 1.224 GB, free: 91.55 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.868, allocations: 402.8 kB / 1.224 GB, free: 91.15 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/1.869, allocations: 234.5 kB / 1.224 GB, free: 90.93 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.871, allocations: 0.8859 MB / 1.225 GB, free: 90.01 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008118/1.872, allocations: 1.089 MB / 1.226 GB, free: 88.89 MB / 0.5183 GB Notification: Performance of SimCode: time 3.1e-07/1.872, allocations: 0 / 1.226 GB, free: 88.89 MB / 0.5183 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)