Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.344/2.344, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001657/0.001657, allocations: 177.3 kB / 360.3 MB, free: 7.512 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.904/1.904, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.002777/0.002778, allocations: 81.14 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3002/0.3031, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.918, allocations: 115.2 MB / 0.9627 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.966/5.884, allocations: 2.078 GB / 3.04 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/5.884, allocations: 87.11 kB / 3.04 GB, free: 271.4 MB / 0.9323 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.2962/6.18, allocations: 77.59 MB / 3.116 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/6.18, allocations: 12.5 kB / 3.116 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/6.197, allocations: 1.526 MB / 3.118 GB, free: 240.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/6.2, allocations: 0.8895 MB / 3.119 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/6.2, allocations: 36 kB / 3.119 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003918/6.2, allocations: 71.98 kB / 3.119 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006264/6.207, allocations: 2.09 MB / 3.121 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004602/6.211, allocations: 1.515 MB / 3.122 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/6.211, allocations: 4 kB / 3.122 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/6.212, allocations: 0 / 3.122 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/6.212, allocations: 28 kB / 3.122 GB, free: 237.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/6.227, allocations: 4.484 MB / 3.127 GB, free: 233.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005165/6.232, allocations: 1.948 MB / 3.128 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/6.234, allocations: 0.7645 MB / 3.129 GB, free: 232 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/6.235, allocations: 0.6053 MB / 3.13 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002526/6.237, allocations: 1.002 MB / 3.131 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=121): time 4.418e-06/6.237, allocations: 4 kB / 3.131 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=121): time 0.006172/6.244, allocations: 1.679 MB / 3.132 GB, free: 229.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/6.244, allocations: 256.2 kB / 3.133 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/6.245, allocations: 0.5927 MB / 3.133 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004078/6.246, allocations: 25.7 kB / 3.133 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/6.246, allocations: 369.1 kB / 3.134 GB, free: 228.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/6.246, allocations: 394.4 kB / 3.134 GB, free: 228 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/6.247, allocations: 0.6562 kB / 3.134 GB, free: 228 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001597/6.247, allocations: 392.6 kB / 3.134 GB, free: 227.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/6.249, allocations: 0.6849 MB / 3.135 GB, free: 227.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/6.251, allocations: 0.8213 MB / 3.136 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/6.253, allocations: 0.708 MB / 3.137 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/6.253, allocations: 0 / 3.137 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006194/6.259, allocations: 1.706 MB / 3.138 GB, free: 224.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/6.259, allocations: 5.406 kB / 3.138 GB, free: 224.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/6.259, allocations: 0 / 3.138 GB, free: 224.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/6.261, allocations: 84.88 kB / 3.138 GB, free: 224.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005285/6.266, allocations: 495.3 kB / 3.139 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/6.269, allocations: 1.476 MB / 3.14 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/6.273, allocations: 323 kB / 3.14 GB, free: 221.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004569/6.274, allocations: 55.94 kB / 3.141 GB, free: 221.8 MB / 0.9323 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.000526/6.274, allocations: 131.2 kB / 3.141 GB, free: 221.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/6.275, allocations: 98.78 kB / 3.141 GB, free: 221.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008575/6.283, allocations: 2.182 MB / 3.143 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/6.284, allocations: 12 kB / 3.143 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/6.284, allocations: 0 / 3.143 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.198e-05/6.284, allocations: 11.97 kB / 3.143 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/6.296, allocations: 3.843 MB / 3.147 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/6.296, allocations: 0 / 3.147 GB, free: 215.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005507/6.301, allocations: 496.4 kB / 3.147 GB, free: 215 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009891/6.302, allocations: 84.78 kB / 3.147 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004245/6.303, allocations: 31.94 kB / 3.147 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/6.305, allocations: 1.5 MB / 3.149 GB, free: 213.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/6.305, allocations: 0 / 3.149 GB, free: 213.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006336/6.312, allocations: 1.884 MB / 3.151 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0066/6.318, allocations: 2.299 MB / 3.153 GB, free: 209 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/6.32, allocations: 463.2 kB / 3.153 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/6.32, allocations: 0 / 3.153 GB, free: 208.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00447/6.325, allocations: 299.6 kB / 3.154 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/6.325, allocations: 81.19 kB / 3.154 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/6.325, allocations: 60.88 kB / 3.154 GB, free: 208.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009612/6.326, allocations: 491.1 kB / 3.154 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003342/6.33, allocations: 0.5262 MB / 3.155 GB, free: 207.1 MB / 0.9323 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.002397/6.332, allocations: 1.039 MB / 3.156 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005077/6.337, allocations: 1.741 MB / 3.157 GB, free: 204.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/6.337, allocations: 4 kB / 3.157 GB, free: 204.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002764/6.34, allocations: 1.014 MB / 3.158 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/6.343, allocations: 232.7 kB / 3.159 GB, free: 203.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009611/6.352, allocations: 2.254 MB / 3.161 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/6.355, allocations: 1.368 MB / 3.162 GB, free: 199.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.563e-06/6.355, allocations: 3.938 kB / 3.162 GB, free: 199.5 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)