Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001181/0.001181, allocations: 169.3 kB / 366.3 MB, free: 1.992 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.541/1.541, allocations: 205.1 MB / 0.6256 GB, free: 7.449 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.001007/0.001007, allocations: 92.8 kB / 0.7396 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2813/0.2823, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.9593, allocations: 116.3 MB / 0.9726 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.383/5.343, allocations: 2.079 GB / 3.051 GB, free: 25.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/5.343, allocations: 86.83 kB / 3.051 GB, free: 25.4 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.754/6.097, allocations: 77.88 MB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/6.097, allocations: 13.22 kB / 3.127 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009314/6.107, allocations: 1.529 MB / 3.129 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/6.109, allocations: 0.8895 MB / 3.13 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/6.11, allocations: 42.5 kB / 3.13 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004983/6.11, allocations: 64.5 kB / 3.13 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004475/6.115, allocations: 2.084 MB / 3.132 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003452/6.118, allocations: 1.518 MB / 3.133 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/6.118, allocations: 3.094 kB / 3.133 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/6.118, allocations: 3.906 kB / 3.133 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/6.118, allocations: 27.81 kB / 3.133 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009608/6.128, allocations: 4.482 MB / 3.138 GB, free: 312.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/6.131, allocations: 1.943 MB / 3.14 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/6.132, allocations: 0.7716 MB / 3.14 GB, free: 311.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004901/6.133, allocations: 0.6021 MB / 3.141 GB, free: 310.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/6.134, allocations: 1.003 MB / 3.142 GB, free: 310.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=121): time 7.063e-06/6.134, allocations: 0 / 3.142 GB, free: 310.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=121): time 0.003906/6.138, allocations: 1.684 MB / 3.144 GB, free: 309.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/6.138, allocations: 246.4 kB / 3.144 GB, free: 309.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/6.139, allocations: 0.598 MB / 3.145 GB, free: 308.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/6.139, allocations: 29.7 kB / 3.145 GB, free: 308.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/6.14, allocations: 370.6 kB / 3.145 GB, free: 308.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/6.14, allocations: 387.2 kB / 3.145 GB, free: 308.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/6.14, allocations: 0 / 3.145 GB, free: 308.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001495/6.14, allocations: 401.8 kB / 3.146 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/6.142, allocations: 0.6803 MB / 3.146 GB, free: 307.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/6.143, allocations: 0.822 MB / 3.147 GB, free: 307 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/6.144, allocations: 0.7049 MB / 3.148 GB, free: 306.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/6.144, allocations: 2.969 kB / 3.148 GB, free: 306.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003495/6.148, allocations: 1.702 MB / 3.149 GB, free: 305.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/6.148, allocations: 5.75 kB / 3.149 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/6.148, allocations: 0 / 3.149 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006536/6.148, allocations: 85.69 kB / 3.15 GB, free: 305.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/6.151, allocations: 491.7 kB / 3.15 GB, free: 305.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/6.153, allocations: 1.471 MB / 3.151 GB, free: 304.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/6.155, allocations: 328.2 kB / 3.152 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/6.155, allocations: 54.28 kB / 3.152 GB, free: 303.9 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 (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.0003517/6.156, allocations: 126.5 kB / 3.152 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/6.156, allocations: 99.88 kB / 3.152 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/6.161, allocations: 2.17 MB / 3.154 GB, free: 302.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/6.161, allocations: 13.41 kB / 3.154 GB, free: 302.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/6.161, allocations: 4 kB / 3.154 GB, free: 302.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/6.161, allocations: 10.88 kB / 3.154 GB, free: 302.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0071/6.168, allocations: 3.848 MB / 3.158 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/6.169, allocations: 0 / 3.158 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/6.171, allocations: 494.6 kB / 3.158 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005477/6.172, allocations: 92.59 kB / 3.158 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/6.172, allocations: 31.95 kB / 3.159 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/6.174, allocations: 1.493 MB / 3.16 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.174, allocations: 64 / 3.16 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003557/6.177, allocations: 1.888 MB / 3.162 GB, free: 296.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003589/6.181, allocations: 2.296 MB / 3.164 GB, free: 294 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000917/6.182, allocations: 463.2 kB / 3.165 GB, free: 293.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/6.182, allocations: 0 / 3.165 GB, free: 293.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/6.184, allocations: 295.7 kB / 3.165 GB, free: 293.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/6.185, allocations: 77.19 kB / 3.165 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/6.185, allocations: 56.5 kB / 3.165 GB, free: 293.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007711/6.186, allocations: 499.1 kB / 3.165 GB, free: 292.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002784/6.188, allocations: 0.5338 MB / 3.166 GB, free: 292.1 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 (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.002187/6.191, allocations: 1.049 MB / 3.167 GB, free: 291.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002868/6.193, allocations: 1.733 MB / 3.169 GB, free: 289.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/6.193, allocations: 0 / 3.169 GB, free: 289.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/6.195, allocations: 1.018 MB / 3.17 GB, free: 288.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/6.196, allocations: 227.9 kB / 3.17 GB, free: 288.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/6.202, allocations: 2.25 MB / 3.172 GB, free: 286 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/6.204, allocations: 1.376 MB / 3.173 GB, free: 284.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/6.204, allocations: 0 / 3.173 GB, free: 284.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_8_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1)