Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.SideFins,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.372/1.372, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009695/0.0009696, allocations: 187.4 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.179/1.179, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008428/0.0008431, allocations: 94.36 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2362/0.2371, allocations: 121.4 MB / 0.8511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.8076, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.284/4.092, allocations: 2.076 GB / 3.04 GB, free: 60.87 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/4.092, allocations: 93.16 kB / 3.04 GB, free: 60.78 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.5175/4.61, allocations: 79.13 MB / 3.117 GB, free: 305.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/4.61, allocations: 13.45 kB / 3.117 GB, free: 305.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008028/4.618, allocations: 1.53 MB / 3.119 GB, free: 305.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/4.619, allocations: 0.8148 MB / 3.12 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/4.62, allocations: 35.47 kB / 3.12 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/4.62, allocations: 65.91 kB / 3.12 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002707/4.622, allocations: 1.919 MB / 3.122 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/4.624, allocations: 1.416 MB / 3.123 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/4.624, allocations: 0 / 3.123 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/4.625, allocations: 3.906 kB / 3.123 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/4.625, allocations: 27.09 kB / 3.123 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006848/4.631, allocations: 4.086 MB / 3.127 GB, free: 304.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/4.634, allocations: 1.734 MB / 3.129 GB, free: 304.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008534/4.635, allocations: 0.6845 MB / 3.129 GB, free: 304.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/4.635, allocations: 0.6073 MB / 3.13 GB, free: 303.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/4.636, allocations: 0.9327 MB / 3.131 GB, free: 303.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=120): time 3.266e-06/4.636, allocations: 0 / 3.131 GB, free: 303.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=120): time 0.003027/4.639, allocations: 1.534 MB / 3.132 GB, free: 303.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/4.639, allocations: 243.4 kB / 3.133 GB, free: 302.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/4.64, allocations: 0.578 MB / 3.133 GB, free: 302.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/4.64, allocations: 25.7 kB / 3.133 GB, free: 302.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/4.64, allocations: 360.9 kB / 3.133 GB, free: 302.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/4.641, allocations: 383.4 kB / 3.134 GB, free: 302.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/4.641, allocations: 0 / 3.134 GB, free: 302.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/4.641, allocations: 395.8 kB / 3.134 GB, free: 302 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007992/4.642, allocations: 0.5989 MB / 3.135 GB, free: 302 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/4.642, allocations: 0.7437 MB / 3.135 GB, free: 301.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/4.644, allocations: 0.6391 MB / 3.136 GB, free: 301.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/4.644, allocations: 0.5625 kB / 3.136 GB, free: 301.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003434/4.647, allocations: 1.558 MB / 3.138 GB, free: 301.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/4.647, allocations: 7.719 kB / 3.138 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/4.647, allocations: 4.516 kB / 3.138 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/4.648, allocations: 83.08 kB / 3.138 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/4.65, allocations: 494 kB / 3.138 GB, free: 301.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/4.652, allocations: 1.462 MB / 3.14 GB, free: 300.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/4.654, allocations: 329.9 kB / 3.14 GB, free: 300.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/4.654, allocations: 51.19 kB / 3.14 GB, free: 300.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002894/4.655, allocations: 134.9 kB / 3.14 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/4.655, allocations: 95.75 kB / 3.14 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004495/4.659, allocations: 2.032 MB / 3.142 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/4.659, allocations: 17.53 kB / 3.142 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/4.659, allocations: 1.406 kB / 3.142 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/4.659, allocations: 11.41 kB / 3.142 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005514/4.665, allocations: 3.426 MB / 3.146 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/4.665, allocations: 4 kB / 3.146 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/4.667, allocations: 496.5 kB / 3.146 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/4.668, allocations: 89.08 kB / 3.146 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/4.668, allocations: 39.8 kB / 3.146 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/4.67, allocations: 1.492 MB / 3.148 GB, free: 298.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/4.67, allocations: 0 / 3.148 GB, free: 298.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003107/4.673, allocations: 1.738 MB / 3.149 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00299/4.676, allocations: 2.156 MB / 3.151 GB, free: 296.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006122/4.677, allocations: 417.8 kB / 3.152 GB, free: 296.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/4.677, allocations: 10.89 kB / 3.152 GB, free: 296.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/4.679, allocations: 296.8 kB / 3.152 GB, free: 296.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/4.679, allocations: 75.61 kB / 3.152 GB, free: 296.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/4.679, allocations: 52.27 kB / 3.152 GB, free: 296.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004982/4.68, allocations: 481.9 kB / 3.153 GB, free: 296.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001989/4.682, allocations: 0.5307 MB / 3.153 GB, free: 296.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/4.683, allocations: 1.048 MB / 3.154 GB, free: 295.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002399/4.686, allocations: 1.572 MB / 3.156 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/4.686, allocations: 2.375 kB / 3.156 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/4.687, allocations: 0.9373 MB / 3.157 GB, free: 295 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/4.688, allocations: 214 kB / 3.157 GB, free: 295 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/4.693, allocations: 2.124 MB / 3.159 GB, free: 294.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/4.694, allocations: 1.351 MB / 3.16 GB, free: 293.5 MB / 0.948 GB Notification: Performance of SimCode: time 7.52e-07/4.694, allocations: 4 kB / 3.16 GB, free: 293.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)