Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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) 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(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",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.001198/0.001199, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 92.77 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1237/0.1248, allocations: 56.9 MB / 343.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.2292, allocations: 51.48 MB / 394.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.29/10.51, allocations: 5.751 GB / 6.136 GB, free: 109.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/10.51, allocations: 80.11 kB / 6.136 GB, free: 109.2 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 3.389/13.9, allocations: 1.046 GB / 7.182 GB, free: 9.562 MB / 0.5734 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/13.9, allocations: 8 kB / 7.182 GB, free: 9.555 MB / 0.5734 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006337/13.9, allocations: 71.48 kB / 7.182 GB, free: 9.484 MB / 0.5734 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/13.9, allocations: 316.5 kB / 7.182 GB, free: 9.152 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/13.9, allocations: 12 kB / 7.182 GB, free: 9.141 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/13.9, allocations: 16 kB / 7.182 GB, free: 9.125 MB / 0.5734 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005309/13.91, allocations: 325.2 kB / 7.183 GB, free: 8.809 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/13.91, allocations: 383 kB / 7.183 GB, free: 8.395 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/13.91, allocations: 3.938 kB / 7.183 GB, free: 8.391 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/13.91, allocations: 0 / 7.183 GB, free: 8.391 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/13.91, allocations: 8 kB / 7.183 GB, free: 8.383 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006969/13.91, allocations: 5.623 MB / 7.189 GB, free: 2.473 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/13.91, allocations: 170.9 kB / 7.189 GB, free: 2.301 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/13.91, allocations: 110.3 kB / 7.189 GB, free: 2.191 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00211/13.92, allocations: 1.66 MB / 7.19 GB, free: 264 kB / 0.5734 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/13.92, allocations: 46.47 kB / 7.19 GB, free: 208 kB / 0.5734 GB Notification: Performance of pre-optimization done (n=28): time 2.435e-06/13.92, allocations: 0 / 7.19 GB, free: 208 kB / 0.5734 GB Notification: Performance of matching and sorting (n=32): time 0.005258/13.92, allocations: 1.12 MB / 7.192 GB, free: 15.04 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/13.92, allocations: 55.41 kB / 7.192 GB, free: 14.97 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/13.92, allocations: 205.8 kB / 7.192 GB, free: 14.77 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/13.92, allocations: 29.7 kB / 7.192 GB, free: 14.73 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/13.92, allocations: 193.7 kB / 7.192 GB, free: 14.55 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/13.92, allocations: 105.4 kB / 7.192 GB, free: 14.46 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/13.92, allocations: 0 / 7.192 GB, free: 14.46 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.000128/13.92, allocations: 338.7 kB / 7.192 GB, free: 14.12 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/13.92, allocations: 108.9 kB / 7.193 GB, free: 14.02 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/13.92, allocations: 225.1 kB / 7.193 GB, free: 13.75 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/13.92, allocations: 220.1 kB / 7.193 GB, free: 13.54 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/13.92, allocations: 4 kB / 7.193 GB, free: 13.53 MB / 0.589 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002095/13.93, allocations: 0.5415 MB / 7.194 GB, free: 12.98 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/13.93, allocations: 4 kB / 7.194 GB, free: 12.97 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/13.93, allocations: 4 kB / 7.194 GB, free: 12.97 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/13.93, allocations: 62.03 kB / 7.194 GB, free: 12.9 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/13.93, allocations: 91.89 kB / 7.194 GB, free: 12.81 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/13.93, allocations: 1.784 MB / 7.195 GB, free: 10.89 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/13.93, allocations: 30.94 kB / 7.195 GB, free: 10.86 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/13.93, allocations: 23.98 kB / 7.195 GB, free: 10.84 MB / 0.589 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/13.93, allocations: 108.9 kB / 7.196 GB, free: 10.73 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/13.93, allocations: 63.67 kB / 7.196 GB, free: 10.66 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/13.93, allocations: 0.7632 MB / 7.196 GB, free: 9.891 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/13.93, allocations: 10.34 kB / 7.196 GB, free: 9.883 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/13.93, allocations: 0 / 7.196 GB, free: 9.883 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/13.93, allocations: 0.884 MB / 7.197 GB, free: 8.91 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/13.93, allocations: 1.15 MB / 7.198 GB, free: 7.719 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/13.93, allocations: 8 kB / 7.198 GB, free: 7.711 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/13.93, allocations: 63.89 kB / 7.198 GB, free: 7.648 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/13.93, allocations: 64.66 kB / 7.199 GB, free: 7.582 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/13.93, allocations: 7.984 kB / 7.199 GB, free: 7.574 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003916/13.93, allocations: 0.5953 MB / 7.199 GB, free: 6.953 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/13.93, allocations: 4 kB / 7.199 GB, free: 6.949 MB / 0.589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001704/13.94, allocations: 0.869 MB / 7.2 GB, free: 6.047 MB / 0.589 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002205/13.94, allocations: 1.513 MB / 7.201 GB, free: 4.492 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/13.94, allocations: 112.7 kB / 7.202 GB, free: 4.363 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/13.94, allocations: 0 / 7.202 GB, free: 4.363 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/13.94, allocations: 11.98 kB / 7.202 GB, free: 4.352 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/13.94, allocations: 23.91 kB / 7.202 GB, free: 4.328 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/13.94, allocations: 11.91 kB / 7.202 GB, free: 4.316 MB / 0.589 GB Notification: Performance of sort global known variables: time 0.0001619/13.94, allocations: 172.5 kB / 7.202 GB, free: 4.145 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.01336/13.95, allocations: 1.018 MB / 7.203 GB, free: 3.184 MB / 0.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.393/14.35, allocations: 36.68 MB / 7.239 GB, free: 103.6 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.0009724/14.35, allocations: 0.5066 MB / 7.239 GB, free: 103.5 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/14.35, allocations: 0 / 7.239 GB, free: 103.5 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/14.35, allocations: 278.7 kB / 7.239 GB, free: 103.5 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/14.35, allocations: 144.7 kB / 7.239 GB, free: 103.5 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/14.35, allocations: 0.6614 MB / 7.24 GB, free: 103.3 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/14.35, allocations: 0.8482 MB / 7.241 GB, free: 102.6 MB / 0.6046 GB Notification: Performance of SimCode: time 3.91e-07/14.35, allocations: 3.344 kB / 7.241 GB, free: 102.6 MB / 0.6046 GB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)