Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 289.8 MB / 297 MB, free: 6.602 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.001096/0.001096, allocations: 185.2 kB / 366.3 MB, free: 1.957 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.416/1.416, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009267/0.0009266, allocations: 93.36 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2773/0.2783, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/1.029, allocations: 116.3 MB / 0.9727 GB, free: 68.56 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/5.905, allocations: 2.077 GB / 3.05 GB, free: 353.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003532/5.906, allocations: 89.66 kB / 3.05 GB, free: 353.7 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.1866/6.093, allocations: 79.14 MB / 3.127 GB, free: 307.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/6.093, allocations: 12 kB / 3.127 GB, free: 307.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008709/6.101, allocations: 1.524 MB / 3.129 GB, free: 306.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/6.103, allocations: 0.8208 MB / 3.129 GB, free: 305.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/6.103, allocations: 39.91 kB / 3.129 GB, free: 305.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004473/6.104, allocations: 64 kB / 3.129 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002871/6.107, allocations: 1.913 MB / 3.131 GB, free: 303.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/6.109, allocations: 1.421 MB / 3.133 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/6.109, allocations: 0 / 3.133 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/6.109, allocations: 0 / 3.133 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/6.109, allocations: 33.5 kB / 3.133 GB, free: 301.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007675/6.117, allocations: 4.063 MB / 3.137 GB, free: 297.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/6.119, allocations: 1.739 MB / 3.138 GB, free: 295.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008911/6.12, allocations: 0.6871 MB / 3.139 GB, free: 295.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/6.121, allocations: 0.6061 MB / 3.14 GB, free: 294.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/6.122, allocations: 0.9202 MB / 3.141 GB, free: 293.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=120): time 3.377e-06/6.122, allocations: 0 / 3.141 GB, free: 293.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=120): time 0.003564/6.125, allocations: 1.534 MB / 3.142 GB, free: 292 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/6.126, allocations: 252.3 kB / 3.142 GB, free: 291.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/6.126, allocations: 0.57 MB / 3.143 GB, free: 291.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/6.126, allocations: 29.7 kB / 3.143 GB, free: 291.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/6.127, allocations: 360.5 kB / 3.143 GB, free: 290.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/6.127, allocations: 382.2 kB / 3.144 GB, free: 290.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/6.127, allocations: 0 / 3.144 GB, free: 290.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001432/6.127, allocations: 394.8 kB / 3.144 GB, free: 289.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008295/6.128, allocations: 0.6 MB / 3.145 GB, free: 289.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008966/6.129, allocations: 0.7325 MB / 3.145 GB, free: 288.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/6.13, allocations: 0.6471 MB / 3.146 GB, free: 287.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/6.13, allocations: 4 kB / 3.146 GB, free: 287.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002906/6.133, allocations: 1.553 MB / 3.147 GB, free: 286.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/6.133, allocations: 8 kB / 3.147 GB, free: 286.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/6.133, allocations: 0 / 3.147 GB, free: 286.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000661/6.134, allocations: 85.41 kB / 3.148 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/6.136, allocations: 491.3 kB / 3.148 GB, free: 285.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/6.138, allocations: 1.484 MB / 3.149 GB, free: 284.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/6.14, allocations: 315.1 kB / 3.15 GB, free: 283.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/6.14, allocations: 55.94 kB / 3.15 GB, free: 283.8 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.0003246/6.141, allocations: 124.6 kB / 3.15 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/6.141, allocations: 99.53 kB / 3.15 GB, free: 283.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/6.145, allocations: 2.044 MB / 3.152 GB, free: 281.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/6.145, allocations: 15.94 kB / 3.152 GB, free: 281.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/6.145, allocations: 3.984 kB / 3.152 GB, free: 281.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/6.145, allocations: 3.984 kB / 3.152 GB, free: 281.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/6.151, allocations: 3.441 MB / 3.155 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/6.151, allocations: 0 / 3.155 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/6.153, allocations: 495.4 kB / 3.156 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005289/6.154, allocations: 89.62 kB / 3.156 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/6.154, allocations: 31.94 kB / 3.156 GB, free: 277.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/6.155, allocations: 1.496 MB / 3.157 GB, free: 275.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/6.155, allocations: 3.938 kB / 3.157 GB, free: 275.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003095/6.158, allocations: 1.744 MB / 3.159 GB, free: 274 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003293/6.162, allocations: 2.146 MB / 3.161 GB, free: 271.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007373/6.163, allocations: 419.3 kB / 3.162 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/6.163, allocations: 4 kB / 3.162 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/6.165, allocations: 299.7 kB / 3.162 GB, free: 271.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/6.165, allocations: 77.14 kB / 3.162 GB, free: 271 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/6.165, allocations: 55.94 kB / 3.162 GB, free: 271 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006442/6.166, allocations: 479.1 kB / 3.163 GB, free: 270.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00255/6.168, allocations: 0.5262 MB / 3.163 GB, free: 270 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.002144/6.171, allocations: 1.043 MB / 3.164 GB, free: 269 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002547/6.173, allocations: 1.584 MB / 3.166 GB, free: 267.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/6.173, allocations: 0 / 3.166 GB, free: 267.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/6.174, allocations: 0.9241 MB / 3.167 GB, free: 266.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/6.176, allocations: 222.2 kB / 3.167 GB, free: 266.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/6.18, allocations: 2.133 MB / 3.169 GB, free: 264.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/6.182, allocations: 1.352 MB / 3.17 GB, free: 262.7 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/6.182, allocations: 4 kB / 3.17 GB, free: 262.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1)