Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001075/0.001076, allocations: 203.9 kB / 8.536 MB, free: 1.688 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009165/0.0009166, allocations: 93.14 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1701/0.1701, allocations: 45.14 MB / 383.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1896/0.3598, allocations: 69.36 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07946/0.4392, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.597, allocations: 0.6964 GB / 1.2 GB, free: 168.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/1.597, allocations: 71.97 kB / 1.2 GB, free: 168.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.07158/1.669, allocations: 33.94 MB / 1.233 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.669, allocations: 8 kB / 1.233 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/1.671, allocations: 223.5 kB / 1.234 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/1.671, allocations: 206.9 kB / 1.234 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/1.671, allocations: 4 kB / 1.234 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/1.671, allocations: 11.91 kB / 1.234 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003978/1.671, allocations: 184.3 kB / 1.234 GB, free: 134 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/1.672, allocations: 152.4 kB / 1.234 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.672, allocations: 4.219 kB / 1.234 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/1.672, allocations: 0 / 1.234 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.672, allocations: 3.938 kB / 1.234 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.673, allocations: 0.5919 MB / 1.235 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/1.673, allocations: 134.6 kB / 1.235 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.673, allocations: 76.84 kB / 1.235 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/1.674, allocations: 93.08 kB / 1.235 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/1.674, allocations: 30.56 kB / 1.235 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/1.674, allocations: 0 / 1.235 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.004054/1.678, allocations: 0.9915 MB / 1.236 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/1.678, allocations: 63.34 kB / 1.236 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/1.678, allocations: 100.9 kB / 1.236 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/1.678, allocations: 25.7 kB / 1.236 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/1.678, allocations: 104.2 kB / 1.236 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/1.678, allocations: 63.09 kB / 1.236 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/1.678, allocations: 0 / 1.236 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.202e-05/1.678, allocations: 318.8 kB / 1.237 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/1.678, allocations: 71.98 kB / 1.237 GB, free: 131 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/1.678, allocations: 103.6 kB / 1.237 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/1.678, allocations: 77.09 kB / 1.237 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/1.678, allocations: 0 / 1.237 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004192/1.679, allocations: 230.3 kB / 1.237 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.679, allocations: 8 kB / 1.237 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/1.679, allocations: 4.094 kB / 1.237 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/1.679, allocations: 16.84 kB / 1.237 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/1.679, allocations: 55.91 kB / 1.237 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002648/1.68, allocations: 0.5367 MB / 1.238 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/1.68, allocations: 20.05 kB / 1.238 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/1.68, allocations: 11.94 kB / 1.238 GB, free: 129.9 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.023e-05/1.68, allocations: 107.6 kB / 1.238 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.587e-05/1.68, allocations: 11.91 kB / 1.238 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/1.681, allocations: 263.2 kB / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.681, allocations: 0 / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.681, allocations: 0 / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.681, allocations: 11.89 kB / 1.238 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008144/1.682, allocations: 0.5923 MB / 1.239 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.682, allocations: 0 / 1.239 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/1.682, allocations: 51.89 kB / 1.239 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.737e-05/1.682, allocations: 20.84 kB / 1.239 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/1.682, allocations: 8.094 kB / 1.239 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005779/1.683, allocations: 1.212 MB / 1.24 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.683, allocations: 4.031 kB / 1.24 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005351/1.683, allocations: 428.5 kB / 1.24 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000778/1.684, allocations: 0.9006 MB / 1.241 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/1.684, allocations: 85.02 kB / 1.241 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/1.684, allocations: 7.984 kB / 1.241 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/1.684, allocations: 4 kB / 1.241 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/1.685, allocations: 15.89 kB / 1.241 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/1.685, allocations: 11.98 kB / 1.241 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.839e-05/1.685, allocations: 87.34 kB / 1.242 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001349/1.686, allocations: 215.8 kB / 1.242 GB, free: 125.6 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.00112/1.687, allocations: 0.7256 MB / 1.242 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003858/1.687, allocations: 183 kB / 1.243 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.687, allocations: 0 / 1.243 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/1.688, allocations: 209.7 kB / 1.243 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/1.688, allocations: 32.5 kB / 1.243 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/1.689, allocations: 320.7 kB / 1.243 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/1.689, allocations: 0.739 MB / 1.244 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/1.689, allocations: 0 / 1.244 GB, free: 123.3 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)