Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001069/0.001069, allocations: 199.2 kB / 8.54 MB, free: 1.719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008713/0.0008715, allocations: 89.41 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09962/0.1005, allocations: 56.9 MB / 343.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.2, allocations: 51.47 MB / 394.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.822/6.022, allocations: 3.319 GB / 3.704 GB, free: 57.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/6.022, allocations: 67.97 kB / 3.704 GB, free: 57.14 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.4257/6.448, allocations: 105 MB / 3.807 GB, free: 95.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/6.448, allocations: 10 kB / 3.807 GB, free: 95.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/6.45, allocations: 319.1 kB / 3.807 GB, free: 95.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/6.453, allocations: 1.352 MB / 3.809 GB, free: 94.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.845e-05/6.453, allocations: 82.36 kB / 3.809 GB, free: 94.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003595/6.453, allocations: 151.7 kB / 3.809 GB, free: 94.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007991/6.461, allocations: 5.83 MB / 3.814 GB, free: 94.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/6.466, allocations: 3.449 MB / 3.818 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/6.466, allocations: 3.281 kB / 3.818 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003374/6.467, allocations: 3.25 kB / 3.818 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/6.467, allocations: 59 kB / 3.818 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0173/6.484, allocations: 10.32 MB / 3.828 GB, free: 88.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005298/6.489, allocations: 4.558 MB / 3.832 GB, free: 87.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/6.492, allocations: 2.333 MB / 3.835 GB, free: 86.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/6.492, allocations: 446 kB / 3.835 GB, free: 86.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/6.492, allocations: 96.03 kB / 3.835 GB, free: 86.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 5.2e-06/6.492, allocations: 0 / 3.835 GB, free: 86.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.008129/6.501, allocations: 4.518 MB / 3.84 GB, free: 84.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/6.501, allocations: 92.25 kB / 3.84 GB, free: 84.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/6.501, allocations: 0.5468 MB / 3.84 GB, free: 84.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004191/6.502, allocations: 28.83 kB / 3.84 GB, free: 84.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/6.502, allocations: 494.2 kB / 3.841 GB, free: 84.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000767/6.503, allocations: 1.257 MB / 3.842 GB, free: 83.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/6.503, allocations: 0 / 3.842 GB, free: 83.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/6.503, allocations: 487.3 kB / 3.842 GB, free: 82.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/6.505, allocations: 1.72 MB / 3.844 GB, free: 81.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/6.507, allocations: 2.197 MB / 3.846 GB, free: 80.65 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/6.513, allocations: 2.682 MB / 3.849 GB, free: 78.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/6.513, allocations: 3.906 kB / 3.849 GB, free: 78.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008328/6.521, allocations: 4.958 MB / 3.854 GB, free: 73.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/6.521, allocations: 4 kB / 3.854 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/6.521, allocations: 16.78 kB / 3.854 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.381e-05/6.521, allocations: 28 kB / 3.854 GB, free: 73.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/6.525, allocations: 0.7801 MB / 3.855 GB, free: 72.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-05/6.525, allocations: 31.94 kB / 3.855 GB, free: 72.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/6.528, allocations: 309 kB / 3.855 GB, free: 72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003491/6.528, allocations: 143.9 kB / 3.855 GB, free: 71.86 MB / 442.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.0008285/6.529, allocations: 184.1 kB / 3.855 GB, free: 71.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/6.529, allocations: 189.9 kB / 3.855 GB, free: 71.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009872/6.539, allocations: 5.59 MB / 3.861 GB, free: 65.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/6.539, allocations: 40 kB / 3.861 GB, free: 65.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/6.539, allocations: 4 kB / 3.861 GB, free: 65.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/6.539, allocations: 19.92 kB / 3.861 GB, free: 65.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/6.551, allocations: 7.5 MB / 3.868 GB, free: 58.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/6.551, allocations: 7.938 kB / 3.868 GB, free: 58.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/6.555, allocations: 0.718 MB / 3.869 GB, free: 57.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-05/6.555, allocations: 16 kB / 3.869 GB, free: 57.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/6.555, allocations: 43.95 kB / 3.869 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/6.555, allocations: 16 kB / 3.869 GB, free: 57.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/6.555, allocations: 11.84 kB / 3.869 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01086/6.566, allocations: 7.932 MB / 3.877 GB, free: 49.42 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01336/6.579, allocations: 11.22 MB / 3.888 GB, free: 38.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007229/6.58, allocations: 333.9 kB / 3.888 GB, free: 37.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/6.581, allocations: 8 kB / 3.888 GB, free: 37.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/6.584, allocations: 203.5 kB / 3.888 GB, free: 37.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004758/6.584, allocations: 262.9 kB / 3.888 GB, free: 37.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004196/6.585, allocations: 183.9 kB / 3.889 GB, free: 37.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004474/6.585, allocations: 482.8 kB / 3.889 GB, free: 36.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003316/6.588, allocations: 1.088 MB / 3.89 GB, free: 35.51 MB / 442.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.001589/6.59, allocations: 0.9057 MB / 3.891 GB, free: 34.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00465/6.595, allocations: 4.197 MB / 3.895 GB, free: 30.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/6.595, allocations: 11.34 kB / 3.895 GB, free: 30.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/6.597, allocations: 2.303 MB / 3.897 GB, free: 28.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/6.601, allocations: 0.8378 MB / 3.898 GB, free: 27.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/6.612, allocations: 6.18 MB / 3.904 GB, free: 21.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002509/6.614, allocations: 2.312 MB / 3.906 GB, free: 18.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/6.614, allocations: 0 / 3.906 GB, free: 18.77 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)