Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",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.1/package.mo): time 2.254/2.254, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.001662/0.001662, allocations: 187.6 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.1 MB / 0.5658 GB, free: 376 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 91.31 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4689/0.4702, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.7043, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.577, allocations: 2.196 GB / 3.08 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005258/6.578, allocations: 87.33 kB / 3.08 GB, free: 170.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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.3464/6.924, allocations: 85.36 MB / 3.163 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/6.924, allocations: 8 kB / 3.163 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1747/7.099, allocations: 16.39 MB / 3.179 GB, free: 76.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003591/7.103, allocations: 1.043 MB / 3.18 GB, free: 75.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/7.103, allocations: 139.4 kB / 3.18 GB, free: 75.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007/7.104, allocations: 68 kB / 3.18 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01303/7.117, allocations: 4.135 MB / 3.184 GB, free: 71.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008172/7.125, allocations: 2.721 MB / 3.187 GB, free: 68.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/7.125, allocations: 3.938 kB / 3.187 GB, free: 68.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004951/7.126, allocations: 4 kB / 3.187 GB, free: 68.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/7.126, allocations: 28 kB / 3.187 GB, free: 68.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08328/7.209, allocations: 10.86 MB / 3.198 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007276/7.216, allocations: 2.166 MB / 3.2 GB, free: 55.14 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007472/7.224, allocations: 1.534 MB / 3.201 GB, free: 53.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009092/7.225, allocations: 0.5982 MB / 3.202 GB, free: 52.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00981/7.235, allocations: 1.978 MB / 3.204 GB, free: 50.88 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=101): time 6.492e-06/7.235, allocations: 0 / 3.204 GB, free: 50.88 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101): time 0.01154/7.246, allocations: 2.842 MB / 3.207 GB, free: 48.03 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/7.246, allocations: 248.3 kB / 3.207 GB, free: 47.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/7.248, allocations: 0.5739 MB / 3.207 GB, free: 47.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007521/7.249, allocations: 25.7 kB / 3.207 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/7.249, allocations: 384.1 kB / 3.208 GB, free: 46.73 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007505/7.25, allocations: 319.2 kB / 3.208 GB, free: 46.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/7.25, allocations: 0 / 3.208 GB, free: 46.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001874/7.25, allocations: 390.7 kB / 3.209 GB, free: 46.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004691/7.255, allocations: 1.595 MB / 3.21 GB, free: 44.43 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005098/7.26, allocations: 1.725 MB / 3.212 GB, free: 42.67 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/7.264, allocations: 1.108 MB / 3.213 GB, free: 41.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/7.264, allocations: 0 / 3.213 GB, free: 41.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01183/7.276, allocations: 3.076 MB / 3.216 GB, free: 38.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/7.276, allocations: 4 kB / 3.216 GB, free: 38.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/7.276, allocations: 4 kB / 3.216 GB, free: 38.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/7.277, allocations: 80.78 kB / 3.216 GB, free: 38.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0549/7.332, allocations: 3.777 MB / 3.22 GB, free: 34.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/7.337, allocations: 1.465 MB / 3.221 GB, free: 33.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04199/7.379, allocations: 3.554 MB / 3.225 GB, free: 29.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009217/7.38, allocations: 91.83 kB / 3.225 GB, free: 29.36 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (110): * Single equations (assignments): 109 * 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.0008996/7.381, allocations: 128.8 kB / 3.225 GB, free: 29.23 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/7.382, allocations: 90.88 kB / 3.225 GB, free: 29.14 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02487/7.407, allocations: 3.726 MB / 3.228 GB, free: 25.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-05/7.407, allocations: 12 kB / 3.228 GB, free: 25.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/7.407, allocations: 3.906 kB / 3.228 GB, free: 25.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-05/7.407, allocations: 7.969 kB / 3.228 GB, free: 25.37 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02491/7.432, allocations: 5.386 MB / 3.234 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/7.432, allocations: 0 / 3.234 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05774/7.49, allocations: 3.789 MB / 3.237 GB, free: 16.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/7.491, allocations: 84.78 kB / 3.238 GB, free: 16.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/7.492, allocations: 75.83 kB / 3.238 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/7.496, allocations: 1.48 MB / 3.239 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/7.496, allocations: 4 kB / 3.239 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01592/7.512, allocations: 3.055 MB / 3.242 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01742/7.529, allocations: 3.466 MB / 3.245 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003508/7.533, allocations: 0.624 MB / 3.246 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/7.535, allocations: 7.984 kB / 3.246 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03932/7.574, allocations: 3.527 MB / 3.249 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/7.574, allocations: 72.88 kB / 3.25 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006463/7.575, allocations: 95.83 kB / 3.25 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000892/7.576, allocations: 467.1 kB / 3.25 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00446/7.58, allocations: 0.7213 MB / 3.251 GB, free: 2.281 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 (121): * Single equations (assignments): 118 * 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.002567/7.583, allocations: 1.064 MB / 3.252 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.3164/7.899, allocations: 3.438 MB / 3.255 GB, free: 377.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/7.899, allocations: 3.906 kB / 3.255 GB, free: 377.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005729/7.905, allocations: 1.805 MB / 3.257 GB, free: 377.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/7.908, allocations: 210.6 kB / 3.257 GB, free: 377.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/7.921, allocations: 3.233 MB / 3.26 GB, free: 377 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005027/7.927, allocations: 1.572 MB / 3.262 GB, free: 376.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.804e-06/7.927, allocations: 0 / 3.262 GB, free: 376.3 MB / 0.8698 GB