Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData") [: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.00259/0.002589, allocations: 183.2 kB / 8.154 MB, free: 2.086 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.93/1.93, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001274/0.001274, allocations: 95.17 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.28e-05/1.282e-05, allocations: 4 kB / 314.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 47.55 MB / 361.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.14/8.39, allocations: 3.622 GB / 3.975 GB, free: 115.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/8.391, allocations: 69.97 kB / 3.975 GB, free: 115.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.4236/8.814, allocations: 104 MB / 4.077 GB, free: 26.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001108/8.814, allocations: 48 kB / 4.077 GB, free: 26.33 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.01465/8.829, allocations: 2.58 MB / 4.079 GB, free: 23.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/8.829, allocations: 8.031 kB / 4.079 GB, free: 23.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/8.833, allocations: 317.3 kB / 4.08 GB, free: 23.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/8.838, allocations: 1.353 MB / 4.081 GB, free: 21.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/8.838, allocations: 80 kB / 4.081 GB, free: 21.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/8.839, allocations: 151.9 kB / 4.081 GB, free: 21.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01497/8.854, allocations: 5.821 MB / 4.087 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/8.865, allocations: 3.459 MB / 4.09 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/8.866, allocations: 0 / 4.09 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007238/8.866, allocations: 7.938 kB / 4.09 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-05/8.866, allocations: 63.91 kB / 4.09 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03661/8.903, allocations: 10.31 MB / 4.1 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1679/9.071, allocations: 4.563 MB / 4.105 GB, free: 134.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00582/9.077, allocations: 2.33 MB / 4.107 GB, free: 134.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/9.078, allocations: 445.4 kB / 4.108 GB, free: 133.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.892e-05/9.078, allocations: 104.5 kB / 4.108 GB, free: 133.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 6.993e-06/9.078, allocations: 0 / 4.108 GB, free: 133.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.01751/9.096, allocations: 4.605 MB / 4.112 GB, free: 133.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/9.096, allocations: 88.66 kB / 4.112 GB, free: 133.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/9.097, allocations: 0.5434 MB / 4.113 GB, free: 133.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/9.098, allocations: 33.61 kB / 4.113 GB, free: 133.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/9.098, allocations: 0.5199 MB / 4.113 GB, free: 133.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/9.1, allocations: 1.255 MB / 4.115 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/9.1, allocations: 0 / 4.115 GB, free: 132.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002869/9.1, allocations: 459.1 kB / 4.115 GB, free: 132.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004513/9.105, allocations: 1.72 MB / 4.117 GB, free: 132.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/9.11, allocations: 2.206 MB / 4.119 GB, free: 131.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/9.12, allocations: 2.759 MB / 4.121 GB, free: 131.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-05/9.121, allocations: 3.531 kB / 4.121 GB, free: 131.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01729/9.138, allocations: 5.018 MB / 4.126 GB, free: 131.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/9.138, allocations: 3.688 kB / 4.126 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.436e-05/9.138, allocations: 11.62 kB / 4.126 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.305e-05/9.138, allocations: 29.06 kB / 4.126 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008095/9.146, allocations: 0.779 MB / 4.127 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.968e-05/9.146, allocations: 32.38 kB / 4.127 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/9.151, allocations: 298.1 kB / 4.128 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009515/9.152, allocations: 143.9 kB / 4.128 GB, free: 131.4 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.001158/9.153, allocations: 101.9 kB / 4.128 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008888/9.154, allocations: 185.4 kB / 4.128 GB, free: 131.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02189/9.176, allocations: 5.68 MB / 4.133 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/9.176, allocations: 40.25 kB / 4.134 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/9.176, allocations: 0 / 4.134 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.253e-05/9.177, allocations: 18.98 kB / 4.134 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02439/9.201, allocations: 7.603 MB / 4.141 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/9.201, allocations: 0 / 4.141 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007747/9.209, allocations: 0.7223 MB / 4.142 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.803e-05/9.209, allocations: 18.53 kB / 4.142 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007484/9.21, allocations: 41.5 kB / 4.142 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.778e-05/9.21, allocations: 15.22 kB / 4.142 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/9.21, allocations: 3.906 kB / 4.142 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02311/9.233, allocations: 8.021 MB / 4.15 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009869/9.234, allocations: 343.6 kB / 4.15 GB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/9.235, allocations: 9.312 kB / 4.15 GB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006665/9.242, allocations: 196.6 kB / 4.15 GB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/9.243, allocations: 263.7 kB / 4.15 GB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009643/9.244, allocations: 188.1 kB / 4.151 GB, free: 129.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00102/9.245, allocations: 484.5 kB / 4.151 GB, free: 129.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005806/9.251, allocations: 1.01 MB / 4.152 GB, free: 129.5 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.003306/9.254, allocations: 0.9252 MB / 4.153 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01159/9.266, allocations: 4.202 MB / 4.157 GB, free: 129.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-05/9.266, allocations: 8.562 kB / 4.157 GB, free: 129.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006061/9.272, allocations: 2.299 MB / 4.159 GB, free: 128.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009235/9.281, allocations: 0.8368 MB / 4.16 GB, free: 128.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02268/9.304, allocations: 6.253 MB / 4.166 GB, free: 127.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005136/9.309, allocations: 2.298 MB / 4.168 GB, free: 126.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/9.309, allocations: 0 / 4.168 GB, free: 126.4 MB / 426.7 MB Notification: Performance of Templates: time 0.09066/9.4, allocations: 45.53 MB / 4.213 GB, free: 93.64 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1)