Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.195/2.195, allocations: 248.6 MB / 255.9 MB, free: 7.074 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.002499/0.002499, allocations: 195.6 kB / 315.1 MB, free: 4.277 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.846/1.846, allocations: 205.1 MB / 0.5658 GB, free: 312 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.001286/0.001286, allocations: 103 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4888/0.4901, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.719, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.986/6.705, allocations: 2.21 GB / 3.093 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/6.705, allocations: 83.89 kB / 3.093 GB, free: 158.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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 1.609/8.314, allocations: 310 MB / 3.396 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/8.314, allocations: 8 kB / 3.396 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007037/8.321, allocations: 0.5322 MB / 3.397 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004937/8.326, allocations: 0.997 MB / 3.398 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/8.326, allocations: 52 kB / 3.398 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007537/8.327, allocations: 103.9 kB / 3.398 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007822/8.335, allocations: 1.646 MB / 3.399 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008107/8.343, allocations: 1.484 MB / 3.401 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/8.343, allocations: 0 / 3.401 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005519/8.344, allocations: 7.984 kB / 3.401 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/8.344, allocations: 40 kB / 3.401 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02143/8.365, allocations: 4.834 MB / 3.406 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/8.371, allocations: 1.141 MB / 3.407 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/8.373, allocations: 0.5581 MB / 3.407 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/8.375, allocations: 1.13 MB / 3.408 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003317/8.379, allocations: 0.7496 MB / 3.409 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 7.164e-06/8.379, allocations: 0 / 3.409 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.01047/8.389, allocations: 1.298 MB / 3.41 GB, free: 182 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/8.39, allocations: 252.6 kB / 3.411 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/8.392, allocations: 0.6332 MB / 3.411 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006154/8.393, allocations: 29.7 kB / 3.411 GB, free: 181 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007893/8.393, allocations: 0.5037 MB / 3.412 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001007/8.394, allocations: 441.3 kB / 3.412 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/8.395, allocations: 4 kB / 3.412 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001622/8.395, allocations: 357.8 kB / 3.413 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/8.397, allocations: 370.5 kB / 3.413 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/8.399, allocations: 0.5192 MB / 3.413 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/8.401, allocations: 473.2 kB / 3.414 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/8.401, allocations: 0 / 3.414 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00799/8.409, allocations: 1.251 MB / 3.415 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/8.41, allocations: 10.8 kB / 3.415 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/8.41, allocations: 4 kB / 3.415 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/8.412, allocations: 180.2 kB / 3.415 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/8.417, allocations: 299.6 kB / 3.416 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/8.427, allocations: 6.474 MB / 3.422 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003374/8.431, allocations: 119.1 kB / 3.422 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004489/8.431, allocations: 51.88 kB / 3.422 GB, free: 169.3 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 (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007785/8.432, allocations: 128.7 kB / 3.422 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00075/8.433, allocations: 118.6 kB / 3.422 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009644/8.443, allocations: 1.577 MB / 3.424 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/8.443, allocations: 16 kB / 3.424 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/8.443, allocations: 3.938 kB / 3.424 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/8.443, allocations: 7.969 kB / 3.424 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/8.447, allocations: 1.255 MB / 3.425 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/8.447, allocations: 0 / 3.425 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003987/8.451, allocations: 303.6 kB / 3.425 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/8.453, allocations: 200 kB / 3.426 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/8.454, allocations: 19.97 kB / 3.426 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00968/8.464, allocations: 6.49 MB / 3.432 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/8.464, allocations: 0 / 3.432 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00758/8.471, allocations: 1.364 MB / 3.433 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008681/8.48, allocations: 1.817 MB / 3.435 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001981/8.482, allocations: 415.1 kB / 3.435 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008098/8.483, allocations: 0 / 3.435 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004344/8.487, allocations: 99.81 kB / 3.436 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005953/8.488, allocations: 85.36 kB / 3.436 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004771/8.488, allocations: 67.95 kB / 3.436 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001586/8.49, allocations: 0.503 MB / 3.436 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007123/8.497, allocations: 0.7595 MB / 3.437 GB, free: 153.4 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006974/8.504, allocations: 1.648 MB / 3.438 GB, free: 152 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005582/8.51, allocations: 1.547 MB / 3.44 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/8.51, allocations: 4.938 kB / 3.44 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003772/8.514, allocations: 1.126 MB / 3.441 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/8.519, allocations: 390.8 kB / 3.441 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/8.533, allocations: 2.258 MB / 3.444 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/8.536, allocations: 1.475 MB / 3.445 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/8.536, allocations: 0 / 3.445 GB, free: 145.1 MB / 0.8698 GB