Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",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.001533/0.001533, allocations: 195.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008987/0.0008988, allocations: 87.59 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1112/0.1121, allocations: 56.9 MB / 343.2 MB, free: 8.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.213, allocations: 51.47 MB / 394.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.16/10.37, allocations: 5.751 GB / 6.136 GB, free: 110.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/10.37, allocations: 73.03 kB / 6.136 GB, free: 110.8 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 3.968/14.34, allocations: 1.309 GB / 7.446 GB, free: 13.28 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/14.34, allocations: 8 kB / 7.446 GB, free: 13.27 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008101/14.34, allocations: 99.28 kB / 7.446 GB, free: 13.18 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/14.34, allocations: 375.7 kB / 7.446 GB, free: 12.79 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/14.34, allocations: 19.98 kB / 7.446 GB, free: 12.77 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/14.34, allocations: 27.91 kB / 7.446 GB, free: 12.75 MB / 0.6515 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007155/14.34, allocations: 453.8 kB / 7.447 GB, free: 12.3 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/14.34, allocations: 0.5054 MB / 7.447 GB, free: 11.75 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/14.34, allocations: 4 kB / 7.447 GB, free: 11.75 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/14.34, allocations: 8 kB / 7.447 GB, free: 11.74 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/14.34, allocations: 12 kB / 7.447 GB, free: 11.73 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007575/14.35, allocations: 6.488 MB / 7.453 GB, free: 4.906 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/14.35, allocations: 234.2 kB / 7.454 GB, free: 4.672 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/14.35, allocations: 186.5 kB / 7.454 GB, free: 4.488 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002868/14.35, allocations: 2.435 MB / 7.456 GB, free: 1.652 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/14.35, allocations: 42.55 kB / 7.456 GB, free: 1.602 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/14.35, allocations: 0 / 7.456 GB, free: 1.602 MB / 0.6515 GB Notification: Performance of matching and sorting (n=52): time 0.007255/14.36, allocations: 1.647 MB / 7.458 GB, free: 15.92 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/14.36, allocations: 63.78 kB / 7.458 GB, free: 15.84 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/14.36, allocations: 254.3 kB / 7.458 GB, free: 15.59 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/14.36, allocations: 25.7 kB / 7.458 GB, free: 15.56 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/14.36, allocations: 223.3 kB / 7.458 GB, free: 15.36 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/14.36, allocations: 176.3 kB / 7.459 GB, free: 15.21 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/14.36, allocations: 0 / 7.459 GB, free: 15.21 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0001613/14.36, allocations: 346.8 kB / 7.459 GB, free: 14.86 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/14.36, allocations: 169.3 kB / 7.459 GB, free: 14.69 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/14.36, allocations: 310.8 kB / 7.459 GB, free: 14.32 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/14.36, allocations: 336.5 kB / 7.46 GB, free: 14 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/14.36, allocations: 0 / 7.46 GB, free: 14 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002824/14.37, allocations: 0.7859 MB / 7.46 GB, free: 13.19 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/14.37, allocations: 4 kB / 7.46 GB, free: 13.19 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/14.37, allocations: 4 kB / 7.46 GB, free: 13.18 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/14.37, allocations: 95.05 kB / 7.461 GB, free: 13.08 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/14.37, allocations: 147.8 kB / 7.461 GB, free: 12.94 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/14.37, allocations: 2.97 MB / 7.464 GB, free: 9.777 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/14.37, allocations: 38.92 kB / 7.464 GB, free: 9.742 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/14.37, allocations: 24 kB / 7.464 GB, free: 9.719 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * 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: 3 * 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: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001325/14.37, allocations: 131.6 kB / 7.464 GB, free: 9.586 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/14.37, allocations: 91.47 kB / 7.464 GB, free: 9.496 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/14.37, allocations: 1.19 MB / 7.465 GB, free: 8.285 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/14.37, allocations: 11.98 kB / 7.465 GB, free: 8.273 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/14.37, allocations: 0 / 7.465 GB, free: 8.273 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001967/14.37, allocations: 1.134 MB / 7.466 GB, free: 7.066 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/14.38, allocations: 1.693 MB / 7.468 GB, free: 5.332 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/14.38, allocations: 4 kB / 7.468 GB, free: 5.328 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/14.38, allocations: 95.89 kB / 7.468 GB, free: 5.234 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/14.38, allocations: 117.6 kB / 7.468 GB, free: 5.113 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/14.38, allocations: 27.77 kB / 7.468 GB, free: 5.086 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006934/14.38, allocations: 1.179 MB / 7.469 GB, free: 3.855 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/14.38, allocations: 0 / 7.469 GB, free: 3.855 MB / 0.6671 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002565/14.38, allocations: 1.319 MB / 7.471 GB, free: 2.5 MB / 0.6671 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003423/14.38, allocations: 2.11 MB / 7.473 GB, free: 356 kB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/14.39, allocations: 120.5 kB / 7.473 GB, free: 216 kB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-05/14.39, allocations: 4 kB / 7.473 GB, free: 212 kB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/14.39, allocations: 22.05 kB / 7.473 GB, free: 192 kB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/14.39, allocations: 32.45 kB / 7.473 GB, free: 160 kB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/14.39, allocations: 27.97 kB / 7.473 GB, free: 132 kB / 0.6671 GB Notification: Performance of sort global known variables: time 0.2331/14.62, allocations: 192.8 kB / 7.473 GB, free: 117.5 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01442/14.63, allocations: 1.336 MB / 7.474 GB, free: 117.5 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.222/14.86, allocations: 45.54 MB / 7.519 GB, free: 94.43 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.001994/14.86, allocations: 0.765 MB / 7.519 GB, free: 94.32 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/14.86, allocations: 3.344 kB / 7.519 GB, free: 94.32 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/14.86, allocations: 466.8 kB / 7.52 GB, free: 94.32 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/14.86, allocations: 193.4 kB / 7.52 GB, free: 94.31 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/14.86, allocations: 1.063 MB / 7.521 GB, free: 94.07 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/14.86, allocations: 0.9348 MB / 7.522 GB, free: 93.36 MB / 0.6671 GB Notification: Performance of SimCode: time 2.8e-07/14.86, allocations: 2.734 kB / 7.522 GB, free: 93.36 MB / 0.6671 GB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)