Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",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.001269/0.001269, allocations: 175.3 kB / 8.476 MB, free: 1.875 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.284/1.284, allocations: 205.2 MB / 214.1 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009357/0.0009355, allocations: 85.12 kB / 262.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1151/0.116, allocations: 52.97 MB / 315.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.3911, allocations: 47.55 MB / 362.6 MB, free: 45.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.702/7.094, allocations: 3.622 GB / 3.976 GB, free: 61.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/7.094, allocations: 67.97 kB / 3.976 GB, free: 61.82 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.4605/7.554, allocations: 106.6 MB / 4.08 GB, free: 116.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/7.554, allocations: 10.64 kB / 4.08 GB, free: 116.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/7.558, allocations: 318.7 kB / 4.08 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/7.562, allocations: 1.346 MB / 4.082 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/7.563, allocations: 83.47 kB / 4.082 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/7.564, allocations: 147.4 kB / 4.082 GB, free: 115.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01297/7.577, allocations: 5.827 MB / 4.088 GB, free: 114.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008543/7.586, allocations: 3.46 MB / 4.091 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/7.586, allocations: 0 / 4.091 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/7.587, allocations: 3.688 kB / 4.091 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.527e-05/7.587, allocations: 64.91 kB / 4.091 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/7.609, allocations: 10.31 MB / 4.101 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006207/7.615, allocations: 4.56 MB / 4.106 GB, free: 99.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/7.618, allocations: 2.33 MB / 4.108 GB, free: 97.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/7.619, allocations: 439.9 kB / 4.108 GB, free: 96.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.295e-05/7.619, allocations: 103.8 kB / 4.108 GB, free: 96.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.072e-06/7.619, allocations: 0 / 4.108 GB, free: 96.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.009121/7.628, allocations: 4.606 MB / 4.113 GB, free: 91.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/7.628, allocations: 90.47 kB / 4.113 GB, free: 91.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/7.629, allocations: 0.5478 MB / 4.114 GB, free: 91.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000507/7.629, allocations: 29.7 kB / 4.114 GB, free: 91.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/7.63, allocations: 490.8 kB / 4.114 GB, free: 90.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009193/7.631, allocations: 1.25 MB / 4.115 GB, free: 89.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/7.631, allocations: 4 kB / 4.115 GB, free: 89.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/7.631, allocations: 486.2 kB / 4.116 GB, free: 88.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/7.633, allocations: 1.725 MB / 4.117 GB, free: 87.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/7.636, allocations: 2.197 MB / 4.12 GB, free: 84.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005369/7.641, allocations: 2.769 MB / 4.122 GB, free: 82.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/7.641, allocations: 4 kB / 4.122 GB, free: 82.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009632/7.651, allocations: 5.04 MB / 4.127 GB, free: 77.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/7.651, allocations: 10.97 kB / 4.127 GB, free: 77.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/7.651, allocations: 12 kB / 4.127 GB, free: 77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.913e-05/7.651, allocations: 28 kB / 4.127 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/7.655, allocations: 0.7728 MB / 4.128 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.747e-05/7.655, allocations: 43.86 kB / 4.128 GB, free: 76.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/7.658, allocations: 305 kB / 4.128 GB, free: 75.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005824/7.659, allocations: 151.9 kB / 4.128 GB, free: 75.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001181/7.66, allocations: 176.1 kB / 4.129 GB, free: 75.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/7.661, allocations: 193.9 kB / 4.129 GB, free: 75.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/7.673, allocations: 5.671 MB / 4.134 GB, free: 69.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/7.673, allocations: 40 kB / 4.134 GB, free: 69.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/7.673, allocations: 0 / 4.134 GB, free: 69.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.76e-05/7.673, allocations: 23.91 kB / 4.134 GB, free: 69.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/7.687, allocations: 7.583 MB / 4.142 GB, free: 62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/7.688, allocations: 0 / 4.142 GB, free: 62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/7.691, allocations: 0.7139 MB / 4.143 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-05/7.691, allocations: 20 kB / 4.143 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/7.692, allocations: 39.95 kB / 4.143 GB, free: 61.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.559e-05/7.692, allocations: 16 kB / 4.143 GB, free: 61.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/7.692, allocations: 11.89 kB / 4.143 GB, free: 61.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01235/7.704, allocations: 8.029 MB / 4.15 GB, free: 53.03 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01487/7.719, allocations: 11.3 MB / 4.161 GB, free: 41.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/7.72, allocations: 337.9 kB / 4.162 GB, free: 41.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006228/7.721, allocations: 11.98 kB / 4.162 GB, free: 41.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003946/7.725, allocations: 203.5 kB / 4.162 GB, free: 41.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005728/7.726, allocations: 266.8 kB / 4.162 GB, free: 40.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007739/7.726, allocations: 175.9 kB / 4.162 GB, free: 40.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007176/7.727, allocations: 482.8 kB / 4.163 GB, free: 40.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005168/7.732, allocations: 1.073 MB / 4.164 GB, free: 39.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002207/7.735, allocations: 0.9115 MB / 4.165 GB, free: 38.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006132/7.741, allocations: 4.202 MB / 4.169 GB, free: 34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/7.741, allocations: 8.781 kB / 4.169 GB, free: 34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00334/7.744, allocations: 2.3 MB / 4.171 GB, free: 31.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005221/7.749, allocations: 0.8331 MB / 4.172 GB, free: 30.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/7.762, allocations: 6.183 MB / 4.178 GB, free: 24.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003429/7.766, allocations: 2.331 MB / 4.18 GB, free: 22.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/7.766, allocations: 0 / 4.18 GB, free: 22.27 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)