Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.00159/0.00159, allocations: 174.8 kB / 8.518 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.0008986, allocations: 91.28 kB / 281.2 MB, free: 5.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1586/0.1586, allocations: 44.14 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.3335, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.4302, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.633, allocations: 0.6954 GB / 1.19 GB, free: 150 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/1.633, allocations: 75.91 kB / 1.19 GB, free: 149.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.07178/1.705, allocations: 33.89 MB / 1.223 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.705, allocations: 11.94 kB / 1.223 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/1.707, allocations: 223.5 kB / 1.223 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/1.707, allocations: 203 kB / 1.223 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/1.707, allocations: 0 / 1.223 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/1.707, allocations: 11.91 kB / 1.223 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004266/1.707, allocations: 184.3 kB / 1.223 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/1.708, allocations: 152 kB / 1.223 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.708, allocations: 4 kB / 1.223 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/1.708, allocations: 0 / 1.223 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.708, allocations: 4 kB / 1.223 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/1.709, allocations: 0.5845 MB / 1.224 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/1.709, allocations: 134.6 kB / 1.224 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/1.709, allocations: 76.84 kB / 1.224 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/1.71, allocations: 93.03 kB / 1.224 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/1.71, allocations: 38.5 kB / 1.224 GB, free: 114 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/1.71, allocations: 0 / 1.224 GB, free: 114 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.00416/1.714, allocations: 0.9733 MB / 1.225 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.493e-05/1.714, allocations: 55.41 kB / 1.225 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/1.714, allocations: 101 kB / 1.225 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/1.714, allocations: 25.7 kB / 1.226 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/1.714, allocations: 108.2 kB / 1.226 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/1.714, allocations: 59.11 kB / 1.226 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/1.714, allocations: 0 / 1.226 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.252e-05/1.714, allocations: 330.7 kB / 1.226 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/1.714, allocations: 67.86 kB / 1.226 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/1.714, allocations: 106.5 kB / 1.226 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/1.715, allocations: 88.58 kB / 1.226 GB, free: 112 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.715, allocations: 0 / 1.226 GB, free: 112 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004114/1.715, allocations: 226.3 kB / 1.226 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.715, allocations: 8 kB / 1.226 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.715, allocations: 0 / 1.226 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/1.715, allocations: 20.84 kB / 1.226 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/1.716, allocations: 56.06 kB / 1.227 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002947/1.716, allocations: 0.5405 MB / 1.227 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/1.716, allocations: 4.031 kB / 1.227 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/1.716, allocations: 15.98 kB / 1.227 GB, free: 111.1 MB / 0.5261 GB 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 () * 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 (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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/1.716, allocations: 109 kB / 1.227 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/1.716, allocations: 15.81 kB / 1.227 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005896/1.717, allocations: 265.8 kB / 1.227 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.717, allocations: 224 / 1.227 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.717, allocations: 4 kB / 1.227 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.717, allocations: 3.938 kB / 1.227 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008179/1.718, allocations: 0.5993 MB / 1.228 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.718, allocations: 0 / 1.228 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/1.718, allocations: 43.97 kB / 1.228 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-05/1.718, allocations: 20.84 kB / 1.228 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/1.718, allocations: 7.984 kB / 1.228 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006459/1.719, allocations: 1.21 MB / 1.229 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.719, allocations: 7.938 kB / 1.229 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004986/1.72, allocations: 428.6 kB / 1.23 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007271/1.72, allocations: 0.8974 MB / 1.231 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/1.72, allocations: 89.08 kB / 1.231 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/1.72, allocations: 4 kB / 1.231 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/1.721, allocations: 7.984 kB / 1.231 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/1.721, allocations: 11.89 kB / 1.231 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/1.721, allocations: 15.94 kB / 1.231 GB, free: 107 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.981e-05/1.721, allocations: 87.27 kB / 1.231 GB, free: 107 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001395/1.722, allocations: 203.9 kB / 1.231 GB, free: 106.8 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/1.724, allocations: 0.7366 MB / 1.232 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004695/1.724, allocations: 188.2 kB / 1.232 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.724, allocations: 0 / 1.232 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002934/1.724, allocations: 205.6 kB / 1.232 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/1.725, allocations: 40.25 kB / 1.232 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/1.726, allocations: 308.6 kB / 1.232 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/1.726, allocations: 0.7468 MB / 1.233 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of SimCode: time 3.7e-07/1.726, allocations: 4 kB / 1.233 GB, free: 104.5 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)