Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0008839/0.000884, allocations: 185.7 kB / 8.137 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.106/1.106, allocations: 221.4 MB / 230 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009871/0.0009872, allocations: 92.33 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09552/0.09655, allocations: 55.82 MB / 336.6 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2972, allocations: 50.39 MB / 387 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.635/4.932, allocations: 3.325 GB / 3.703 GB, free: 1.066 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/4.932, allocations: 67.97 kB / 3.703 GB, free: 1 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.3606/5.293, allocations: 105.2 MB / 3.806 GB, free: 77.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/5.293, allocations: 8 kB / 3.806 GB, free: 77.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/5.295, allocations: 321.3 kB / 3.806 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/5.299, allocations: 1.349 MB / 3.808 GB, free: 76.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/5.299, allocations: 76 kB / 3.808 GB, free: 76.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006851/5.299, allocations: 151.9 kB / 3.808 GB, free: 75.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00765/5.307, allocations: 5.821 MB / 3.814 GB, free: 70.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005642/5.313, allocations: 3.462 MB / 3.817 GB, free: 66.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/5.313, allocations: 0 / 3.817 GB, free: 66.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006096/5.313, allocations: 8 kB / 3.817 GB, free: 66.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/5.313, allocations: 60 kB / 3.817 GB, free: 66.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/5.331, allocations: 10.32 MB / 3.827 GB, free: 55.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005252/5.336, allocations: 4.567 MB / 3.832 GB, free: 50.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/5.338, allocations: 2.326 MB / 3.834 GB, free: 48.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000528/5.339, allocations: 435.3 kB / 3.834 GB, free: 48.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/5.339, allocations: 102.4 kB / 3.834 GB, free: 47.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 5.67e-06/5.339, allocations: 0 / 3.834 GB, free: 47.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.007871/5.347, allocations: 4.524 MB / 3.839 GB, free: 43.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/5.347, allocations: 90.47 kB / 3.839 GB, free: 43.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/5.348, allocations: 0.5478 MB / 3.839 GB, free: 42.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004251/5.348, allocations: 33.7 kB / 3.839 GB, free: 42.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/5.348, allocations: 486.9 kB / 3.84 GB, free: 42.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007308/5.349, allocations: 1.255 MB / 3.841 GB, free: 40.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/5.349, allocations: 4 kB / 3.841 GB, free: 40.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/5.349, allocations: 494.2 kB / 3.842 GB, free: 40.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/5.351, allocations: 1.717 MB / 3.843 GB, free: 38.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/5.354, allocations: 2.201 MB / 3.845 GB, free: 36.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00464/5.358, allocations: 2.676 MB / 3.848 GB, free: 33.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/5.358, allocations: 4 kB / 3.848 GB, free: 33.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007991/5.366, allocations: 4.958 MB / 3.853 GB, free: 28.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/5.366, allocations: 4 kB / 3.853 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/5.366, allocations: 12 kB / 3.853 GB, free: 28.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.101e-05/5.366, allocations: 31.91 kB / 3.853 GB, free: 28.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/5.37, allocations: 0.7767 MB / 3.854 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.087e-05/5.37, allocations: 39.91 kB / 3.854 GB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/5.373, allocations: 313 kB / 3.854 GB, free: 27.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/5.373, allocations: 143.9 kB / 3.854 GB, free: 27.43 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.0007138/5.374, allocations: 185 kB / 3.854 GB, free: 27.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006378/5.374, allocations: 193.9 kB / 3.855 GB, free: 27.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009618/5.384, allocations: 5.572 MB / 3.86 GB, free: 21.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/5.384, allocations: 44 kB / 3.86 GB, free: 21.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/5.384, allocations: 3.984 kB / 3.86 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.512e-05/5.384, allocations: 27.8 kB / 3.86 GB, free: 21.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/5.396, allocations: 7.496 MB / 3.867 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/5.396, allocations: 4 kB / 3.867 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/5.399, allocations: 0.7139 MB / 3.868 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-05/5.4, allocations: 19.98 kB / 3.868 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/5.4, allocations: 39.97 kB / 3.868 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-05/5.4, allocations: 19.98 kB / 3.868 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.4, allocations: 4 kB / 3.868 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01089/5.411, allocations: 7.939 MB / 3.876 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1428/5.553, allocations: 11.21 MB / 3.887 GB, free: 144.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/5.554, allocations: 328.7 kB / 3.887 GB, free: 144.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/5.555, allocations: 11.77 kB / 3.887 GB, free: 144.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/5.558, allocations: 200.6 kB / 3.887 GB, free: 144.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004857/5.558, allocations: 266.1 kB / 3.888 GB, free: 144.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000392/5.559, allocations: 180.2 kB / 3.888 GB, free: 144.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004611/5.559, allocations: 485.3 kB / 3.888 GB, free: 144.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003141/5.562, allocations: 1.065 MB / 3.889 GB, free: 144.4 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.001542/5.564, allocations: 0.8839 MB / 3.89 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004928/5.569, allocations: 4.202 MB / 3.894 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/5.569, allocations: 9.219 kB / 3.894 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/5.571, allocations: 2.3 MB / 3.897 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00436/5.576, allocations: 0.8325 MB / 3.897 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/5.586, allocations: 6.196 MB / 3.903 GB, free: 143.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002466/5.589, allocations: 2.308 MB / 3.906 GB, free: 142.6 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/5.589, allocations: 7.688 kB / 3.906 GB, free: 142.6 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)