Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.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.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_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.27/1.27, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.0009349/0.0009349, allocations: 177.2 kB / 316 MB, free: 3.52 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.232/1.232, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0008982/0.0008982, allocations: 95.25 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3981/0.399, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.5822, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.306/4.888, allocations: 2.197 GB / 3.081 GB, free: 213 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/4.888, allocations: 89.36 kB / 3.082 GB, free: 212.9 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.1584/5.047, allocations: 77.51 MB / 3.157 GB, free: 135 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/5.047, allocations: 8 kB / 3.157 GB, free: 135 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008107/5.055, allocations: 1.532 MB / 3.159 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/5.057, allocations: 0.891 MB / 3.16 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/5.057, allocations: 36 kB / 3.16 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/5.057, allocations: 68 kB / 3.16 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002824/5.06, allocations: 2.089 MB / 3.162 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/5.062, allocations: 1.516 MB / 3.163 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/5.062, allocations: 3.938 kB / 3.163 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/5.062, allocations: 0 / 3.163 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/5.062, allocations: 28 kB / 3.163 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007246/5.069, allocations: 4.485 MB / 3.168 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/5.072, allocations: 1.948 MB / 3.17 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009295/5.073, allocations: 0.7652 MB / 3.17 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003861/5.073, allocations: 0.61 MB / 3.171 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/5.074, allocations: 1.002 MB / 3.172 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=121): time 4.198e-06/5.074, allocations: 0 / 3.172 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121): time 0.003169/5.077, allocations: 1.682 MB / 3.173 GB, free: 118 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/5.077, allocations: 244.3 kB / 3.174 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/5.078, allocations: 0.6012 MB / 3.174 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/5.078, allocations: 33.7 kB / 3.174 GB, free: 117 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/5.078, allocations: 376.4 kB / 3.175 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/5.079, allocations: 378.2 kB / 3.175 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/5.079, allocations: 0 / 3.175 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/5.079, allocations: 398.6 kB / 3.175 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/5.08, allocations: 0.6824 MB / 3.176 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009719/5.081, allocations: 0.8179 MB / 3.177 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/5.082, allocations: 0.7134 MB / 3.178 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/5.082, allocations: 4 kB / 3.178 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003017/5.085, allocations: 1.698 MB / 3.179 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/5.085, allocations: 8.094 kB / 3.179 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/5.085, allocations: 4 kB / 3.179 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/5.086, allocations: 84.77 kB / 3.179 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/5.088, allocations: 495.3 kB / 3.18 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/5.09, allocations: 1.469 MB / 3.181 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/5.092, allocations: 323 kB / 3.182 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/5.092, allocations: 59.84 kB / 3.182 GB, free: 109.4 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 (126): * Single equations (assignments): 125 * 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.0002862/5.092, allocations: 120.8 kB / 3.182 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/5.092, allocations: 106.8 kB / 3.182 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004277/5.097, allocations: 2.165 MB / 3.184 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/5.097, allocations: 12 kB / 3.184 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/5.097, allocations: 7.906 kB / 3.184 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/5.097, allocations: 3.984 kB / 3.184 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005629/5.102, allocations: 3.843 MB / 3.188 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/5.102, allocations: 4 kB / 3.188 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/5.105, allocations: 499.3 kB / 3.188 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/5.105, allocations: 80.78 kB / 3.188 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/5.105, allocations: 43.84 kB / 3.188 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/5.107, allocations: 1.473 MB / 3.19 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/5.107, allocations: 3.938 kB / 3.19 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003185/5.11, allocations: 1.884 MB / 3.192 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0031/5.113, allocations: 2.303 MB / 3.194 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/5.114, allocations: 455.3 kB / 3.194 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/5.114, allocations: 0 / 3.194 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/5.116, allocations: 295.7 kB / 3.195 GB, free: 95.83 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/5.117, allocations: 85.09 kB / 3.195 GB, free: 95.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/5.117, allocations: 55.94 kB / 3.195 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005378/5.117, allocations: 495.1 kB / 3.195 GB, free: 95.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002025/5.119, allocations: 0.5379 MB / 3.196 GB, free: 94.67 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 (135): * Single equations (assignments): 132 * 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.001446/5.121, allocations: 1.051 MB / 3.197 GB, free: 93.66 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002469/5.123, allocations: 1.736 MB / 3.198 GB, free: 91.92 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/5.123, allocations: 4 kB / 3.198 GB, free: 91.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/5.125, allocations: 1.014 MB / 3.199 GB, free: 90.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/5.126, allocations: 224.3 kB / 3.2 GB, free: 90.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/5.131, allocations: 2.258 MB / 3.202 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/5.132, allocations: 1.368 MB / 3.203 GB, free: 86.98 MB / 0.8698 GB Notification: Performance of SimCode: time 8.91e-07/5.132, allocations: 0 / 3.203 GB, free: 86.98 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)