Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.426/1.426, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00097/0.00097, allocations: 185.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 92.91 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2112/0.2121, allocations: 121.4 MB / 0.8511 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.7107, allocations: 115.3 MB / 0.9638 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.8706, allocations: 145.5 MB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.8709, allocations: 88.64 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.04542/0.9163, allocations: 16.59 MB / 1.122 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9164, allocations: 12 kB / 1.122 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0256/0.942, allocations: 2.672 MB / 1.125 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.9434, allocations: 0.6003 MB / 1.125 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.9435, allocations: 8 kB / 1.125 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.9437, allocations: 16 kB / 1.125 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007919/0.9445, allocations: 497 kB / 1.126 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000799/0.9453, allocations: 0.5075 MB / 1.126 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9454, allocations: 4.219 kB / 1.126 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.9454, allocations: 4 kB / 1.126 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.9454, allocations: 11.92 kB / 1.126 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.9495, allocations: 2.948 MB / 1.129 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.9501, allocations: 478.3 kB / 1.13 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/0.9506, allocations: 321 kB / 1.13 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.9507, allocations: 39.98 kB / 1.13 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.9508, allocations: 46.55 kB / 1.13 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.9508, allocations: 0 / 1.13 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.006202/0.957, allocations: 1.382 MB / 1.131 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.9571, allocations: 55.41 kB / 1.131 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.9574, allocations: 235.6 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.00024/0.9577, allocations: 36.33 kB / 1.132 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.9579, allocations: 172.1 kB / 1.132 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/0.958, allocations: 66.95 kB / 1.132 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.9582, allocations: 0 / 1.132 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9583, allocations: 346.7 kB / 1.132 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.9595, allocations: 0.8488 MB / 1.133 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.9609, allocations: 0.9004 MB / 1.134 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/0.9725, allocations: 2.24 MB / 1.136 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.9726, allocations: 0 / 1.136 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01394/0.9865, allocations: 3.296 MB / 1.139 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.9866, allocations: 98.64 kB / 1.14 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01241/0.999, allocations: 2.878 MB / 1.142 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.9991, allocations: 3.984 kB / 1.142 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005614/1.005, allocations: 0.597 MB / 1.143 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.005, allocations: 7.938 kB / 1.143 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005156/1.01, allocations: 499.2 kB / 1.143 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/1.01, allocations: 55.92 kB / 1.143 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/1.01, allocations: 4 kB / 1.143 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01369/1.024, allocations: 3.235 MB / 1.147 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01236/1.036, allocations: 2.885 MB / 1.149 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/1.036, allocations: 0 / 1.149 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005492/1.042, allocations: 0.5931 MB / 1.15 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.042, allocations: 4 kB / 1.15 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005006/1.047, allocations: 491.3 kB / 1.15 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/1.047, allocations: 55.92 kB / 1.151 GB, free: 12.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002711/1.047, allocations: 108.8 kB / 1.151 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/1.048, allocations: 31.62 kB / 1.151 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/1.052, allocations: 1.407 MB / 1.152 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.053, allocations: 4 kB / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.053, allocations: 0 / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.053, allocations: 0 / 1.152 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/1.054, allocations: 0.8857 MB / 1.153 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003689/1.057, allocations: 1.076 MB / 1.154 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002153/1.059, allocations: 251.7 kB / 1.154 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.059, allocations: 0 / 1.154 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/1.059, allocations: 19.97 kB / 1.154 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.059, allocations: 2.438 kB / 1.154 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.059, allocations: 0 / 1.154 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00393/1.063, allocations: 1.213 MB / 1.155 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003965/1.067, allocations: 1.588 MB / 1.157 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/1.068, allocations: 196.5 kB / 1.157 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.068, allocations: 5.547 kB / 1.157 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.07, allocations: 175.8 kB / 1.157 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/1.07, allocations: 23.97 kB / 1.157 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/1.07, allocations: 27.91 kB / 1.157 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001998/1.07, allocations: 187 kB / 1.158 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002478/1.073, allocations: 375.3 kB / 1.158 GB, free: 4.52 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005641/1.073, allocations: 278.6 kB / 1.158 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003216/1.076, allocations: 1.98 MB / 1.16 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.076, allocations: 4 kB / 1.16 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000525/1.077, allocations: 399.2 kB / 1.16 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/1.077, allocations: 51.72 kB / 1.161 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/1.079, allocations: 0.7101 MB / 1.161 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009672/1.08, allocations: 0.94 MB / 1.162 GB, free: 76 kB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/1.08, allocations: 0 / 1.162 GB, free: 76 kB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)