Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.244/1.244, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 181.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.136/1.136, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007835/0.0007835, allocations: 90.09 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3425/0.3433, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.5152, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.035/4.55, allocations: 2.195 GB / 3.08 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/4.55, allocations: 91.5 kB / 3.08 GB, free: 207.7 MB / 0.8698 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.1607/4.711, allocations: 78.75 MB / 3.157 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/4.711, allocations: 16 kB / 3.157 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007842/4.719, allocations: 1.528 MB / 3.158 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/4.72, allocations: 0.8208 MB / 3.159 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/4.72, allocations: 36 kB / 3.159 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/4.721, allocations: 64 kB / 3.159 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002519/4.723, allocations: 1.925 MB / 3.161 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/4.725, allocations: 1.418 MB / 3.163 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/4.725, allocations: 0 / 3.163 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/4.725, allocations: 0 / 3.163 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/4.725, allocations: 32 kB / 3.163 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006844/4.732, allocations: 4.075 MB / 3.167 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/4.734, allocations: 1.736 MB / 3.168 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/4.735, allocations: 0.6858 MB / 3.169 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003648/4.736, allocations: 0.6061 MB / 3.169 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/4.737, allocations: 0.9201 MB / 3.17 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=120): time 3.627e-06/4.737, allocations: 4 kB / 3.17 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120): time 0.00296/4.74, allocations: 1.53 MB / 3.172 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/4.74, allocations: 248.3 kB / 3.172 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/4.741, allocations: 0.5816 MB / 3.173 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/4.741, allocations: 29.64 kB / 3.173 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/4.741, allocations: 360.5 kB / 3.173 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/4.741, allocations: 378.2 kB / 3.173 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/4.741, allocations: 0 / 3.173 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.757e-05/4.741, allocations: 398.7 kB / 3.174 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007833/4.742, allocations: 0.5922 MB / 3.174 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/4.743, allocations: 0.7358 MB / 3.175 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/4.744, allocations: 0.6471 MB / 3.176 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/4.744, allocations: 0 / 3.176 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002944/4.747, allocations: 1.557 MB / 3.177 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/4.747, allocations: 4 kB / 3.177 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/4.747, allocations: 4 kB / 3.177 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/4.748, allocations: 88.83 kB / 3.177 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/4.75, allocations: 491.3 kB / 3.178 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/4.752, allocations: 1.465 MB / 3.179 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/4.754, allocations: 323.1 kB / 3.18 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/4.754, allocations: 55.94 kB / 3.18 GB, free: 104.6 MB / 0.8698 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.0002802/4.755, allocations: 128.7 kB / 3.18 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/4.755, allocations: 98.86 kB / 3.18 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/4.759, allocations: 2.04 MB / 3.182 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/4.759, allocations: 16 kB / 3.182 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/4.759, allocations: 0 / 3.182 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/4.759, allocations: 7.922 kB / 3.182 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005326/4.764, allocations: 3.437 MB / 3.185 GB, free: 98.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/4.764, allocations: 3.984 kB / 3.185 GB, free: 98.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/4.767, allocations: 491.4 kB / 3.186 GB, free: 98.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/4.767, allocations: 88.77 kB / 3.186 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/4.767, allocations: 35.89 kB / 3.186 GB, free: 98.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/4.769, allocations: 1.5 MB / 3.187 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/4.769, allocations: 0 / 3.187 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003118/4.772, allocations: 1.736 MB / 3.189 GB, free: 94.82 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002901/4.775, allocations: 2.15 MB / 3.191 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/4.776, allocations: 415.3 kB / 3.191 GB, free: 92.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/4.776, allocations: 7.984 kB / 3.191 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001971/4.778, allocations: 299.7 kB / 3.192 GB, free: 91.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/4.778, allocations: 81.09 kB / 3.192 GB, free: 91.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/4.778, allocations: 51.95 kB / 3.192 GB, free: 91.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000513/4.779, allocations: 479.1 kB / 3.192 GB, free: 91.33 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001983/4.781, allocations: 0.5301 MB / 3.193 GB, free: 90.8 MB / 0.8698 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.001522/4.782, allocations: 1.045 MB / 3.194 GB, free: 89.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002259/4.784, allocations: 1.58 MB / 3.195 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/4.784, allocations: 8.062 kB / 3.195 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/4.786, allocations: 0.9164 MB / 3.196 GB, free: 87.28 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/4.787, allocations: 227.1 kB / 3.197 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/4.791, allocations: 2.125 MB / 3.199 GB, free: 84.89 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/4.792, allocations: 1.357 MB / 3.2 GB, free: 83.51 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/4.792, allocations: 0 / 3.2 GB, free: 83.51 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)