Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 180 kB / 8.478 MB, free: 1.879 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 214.1 MB, free: 5.172 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 98.22 kB / 262.1 MB, free: 5.211 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2182/0.2194, allocations: 52.96 MB / 315.1 MB, free: 41.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.3216, allocations: 47.57 MB / 362.6 MB, free: 9.891 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.45/10.77, allocations: 5.795 GB / 6.149 GB, free: 142.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/10.77, allocations: 77.33 kB / 6.149 GB, free: 142 MB / 426.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.935/14.71, allocations: 1.046 GB / 7.195 GB, free: 2.832 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/14.71, allocations: 8 kB / 7.195 GB, free: 2.824 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008821/14.71, allocations: 71.48 kB / 7.195 GB, free: 2.754 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/14.71, allocations: 315 kB / 7.195 GB, free: 2.426 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/14.71, allocations: 19.98 kB / 7.195 GB, free: 2.406 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/14.71, allocations: 16 kB / 7.195 GB, free: 2.391 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006891/14.71, allocations: 325.2 kB / 7.196 GB, free: 2.074 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/14.71, allocations: 378.6 kB / 7.196 GB, free: 1.664 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/14.71, allocations: 4 kB / 7.196 GB, free: 1.66 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/14.71, allocations: 3.516 kB / 7.196 GB, free: 1.66 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/14.71, allocations: 15.84 kB / 7.196 GB, free: 1.645 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00904/14.72, allocations: 5.626 MB / 7.202 GB, free: 11.73 MB / 0.5578 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/14.72, allocations: 162.9 kB / 7.202 GB, free: 11.57 MB / 0.5578 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/14.72, allocations: 115.3 kB / 7.202 GB, free: 11.45 MB / 0.5578 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002197/14.72, allocations: 1.663 MB / 7.204 GB, free: 9.516 MB / 0.5578 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/14.72, allocations: 39.03 kB / 7.204 GB, free: 9.469 MB / 0.5578 GB Notification: Performance of pre-optimization done (n=28): time 3.136e-06/14.72, allocations: 0 / 7.204 GB, free: 9.469 MB / 0.5578 GB Notification: Performance of matching and sorting (n=32): time 0.005437/14.73, allocations: 1.124 MB / 7.205 GB, free: 8.297 MB / 0.5578 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/14.73, allocations: 55.41 kB / 7.205 GB, free: 8.23 MB / 0.5578 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/14.73, allocations: 213.8 kB / 7.205 GB, free: 8.02 MB / 0.5578 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/14.73, allocations: 25.7 kB / 7.205 GB, free: 7.988 MB / 0.5578 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/14.73, allocations: 181.8 kB / 7.205 GB, free: 7.82 MB / 0.5578 GB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/14.73, allocations: 112.4 kB / 7.205 GB, free: 7.723 MB / 0.5578 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/14.73, allocations: 0 / 7.205 GB, free: 7.723 MB / 0.5578 GB Notification: Performance of setup shared object (initialization): time 0.0001556/14.73, allocations: 338.7 kB / 7.206 GB, free: 7.383 MB / 0.5578 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/14.73, allocations: 108.9 kB / 7.206 GB, free: 7.273 MB / 0.5578 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/14.73, allocations: 209.2 kB / 7.206 GB, free: 7.023 MB / 0.5578 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/14.73, allocations: 223.8 kB / 7.206 GB, free: 6.805 MB / 0.5578 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/14.73, allocations: 8 kB / 7.206 GB, free: 6.797 MB / 0.5578 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002172/14.73, allocations: 0.5344 MB / 7.207 GB, free: 6.25 MB / 0.5578 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/14.73, allocations: 8.031 kB / 7.207 GB, free: 6.242 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/14.73, allocations: 11.91 kB / 7.207 GB, free: 6.23 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/14.73, allocations: 57.62 kB / 7.207 GB, free: 6.168 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/14.73, allocations: 87.89 kB / 7.207 GB, free: 6.082 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/14.74, allocations: 1.79 MB / 7.208 GB, free: 4.152 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/14.74, allocations: 30.14 kB / 7.209 GB, free: 4.125 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/14.74, allocations: 20 kB / 7.209 GB, free: 4.105 MB / 0.5578 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.0001582/14.74, allocations: 120.1 kB / 7.209 GB, free: 3.984 MB / 0.5578 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/14.74, allocations: 67.61 kB / 7.209 GB, free: 3.918 MB / 0.5578 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/14.74, allocations: 0.7708 MB / 7.209 GB, free: 3.141 MB / 0.5578 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/14.74, allocations: 7.984 kB / 7.209 GB, free: 3.133 MB / 0.5578 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/14.74, allocations: 0 / 7.209 GB, free: 3.133 MB / 0.5578 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001514/14.74, allocations: 0.8867 MB / 7.21 GB, free: 2.152 MB / 0.5578 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/14.74, allocations: 1.156 MB / 7.211 GB, free: 0.9609 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/14.74, allocations: 0 / 7.211 GB, free: 0.9609 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/14.74, allocations: 59.91 kB / 7.212 GB, free: 0.9023 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/14.74, allocations: 68.77 kB / 7.212 GB, free: 0.832 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/14.74, allocations: 8 kB / 7.212 GB, free: 0.8242 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004538/14.74, allocations: 0.5835 MB / 7.212 GB, free: 220 kB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/14.74, allocations: 4.031 kB / 7.212 GB, free: 216 kB / 0.5578 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00188/14.75, allocations: 0.8676 MB / 7.213 GB, free: 15.3 MB / 0.5734 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002466/14.75, allocations: 1.507 MB / 7.214 GB, free: 13.75 MB / 0.5734 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/14.75, allocations: 112.7 kB / 7.215 GB, free: 13.62 MB / 0.5734 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/14.75, allocations: 4 kB / 7.215 GB, free: 13.61 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/14.75, allocations: 14.03 kB / 7.215 GB, free: 13.6 MB / 0.5734 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/14.75, allocations: 31.75 kB / 7.215 GB, free: 13.57 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/14.75, allocations: 15.98 kB / 7.215 GB, free: 13.55 MB / 0.5734 GB Notification: Performance of sort global known variables: time 0.000195/14.75, allocations: 164.5 kB / 7.215 GB, free: 13.39 MB / 0.5734 GB Notification: Performance of remove unused functions: time 0.01653/14.77, allocations: 1.006 MB / 7.216 GB, free: 12.45 MB / 0.5734 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.4435/15.21, allocations: 36.67 MB / 7.252 GB, free: 89.97 MB / 0.5734 GB Notification: Performance of simCode: created initialization part: time 0.001143/15.21, allocations: 0.4971 MB / 7.252 GB, free: 89.88 MB / 0.5734 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/15.21, allocations: 0 / 7.252 GB, free: 89.88 MB / 0.5734 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/15.21, allocations: 284.8 kB / 7.252 GB, free: 89.88 MB / 0.5734 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/15.21, allocations: 139.9 kB / 7.252 GB, free: 89.87 MB / 0.5734 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/15.21, allocations: 0.6551 MB / 7.253 GB, free: 89.69 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/15.21, allocations: 0.8562 MB / 7.254 GB, free: 88.98 MB / 0.5734 GB Notification: Performance of SimCode: time 7.41e-07/15.21, allocations: 3.469 kB / 7.254 GB, free: 88.98 MB / 0.5734 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)