Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.553/2.553, allocations: 248.6 MB / 255.9 MB, free: 7.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 191.1 kB / 315.1 MB, free: 8.59 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.1 MB / 0.5658 GB, free: 4.18 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 89.98 kB / 0.67 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5121/0.514, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.7368, allocations: 106.3 MB / 0.8835 GB, free: 1.078 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7066/1.443, allocations: 132.6 MB / 1.013 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004419/1.444, allocations: 81.5 kB / 1.013 GB, free: 13.7 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.007826/1.452, allocations: 1.17 MB / 1.014 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.452, allocations: 8 kB / 1.014 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/1.452, allocations: 7.906 kB / 1.014 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/1.452, allocations: 159.1 kB / 1.014 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/1.452, allocations: 7.906 kB / 1.014 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/1.452, allocations: 0 / 1.014 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001726/1.453, allocations: 19.19 kB / 1.014 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/1.453, allocations: 45.5 kB / 1.014 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.453, allocations: 3.938 kB / 1.014 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/1.453, allocations: 0 / 1.014 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/1.453, allocations: 4 kB / 1.014 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007515/1.454, allocations: 258.8 kB / 1.015 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/1.454, allocations: 29.58 kB / 1.015 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/1.454, allocations: 20.17 kB / 1.015 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/1.454, allocations: 4 kB / 1.015 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/1.454, allocations: 55.12 kB / 1.015 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 4.348e-06/1.454, allocations: 0 / 1.015 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5): time 0.0002965/1.454, allocations: 59.47 kB / 1.015 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/1.454, allocations: 51.41 kB / 1.015 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/1.455, allocations: 110.7 kB / 1.015 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/1.455, allocations: 29.7 kB / 1.015 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/1.455, allocations: 84.05 kB / 1.015 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/1.455, allocations: 14.58 kB / 1.015 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/1.455, allocations: 0 / 1.015 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001849/1.455, allocations: 314.2 kB / 1.015 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/1.455, allocations: 10.56 kB / 1.015 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/1.455, allocations: 32.17 kB / 1.015 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/1.455, allocations: 23.36 kB / 1.015 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.455, allocations: 0 / 1.015 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003113/1.456, allocations: 68.28 kB / 1.016 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.456, allocations: 8 kB / 1.016 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.456, allocations: 160 / 1.016 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/1.456, allocations: 8 kB / 1.016 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/1.456, allocations: 11.98 kB / 1.016 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.456, allocations: 4.094 kB / 1.016 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/1.456, allocations: 7.906 kB / 1.016 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/1.456, allocations: 7.984 kB / 1.016 GB, free: 11.07 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.457, allocations: 111 kB / 1.016 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/1.457, allocations: 11.89 kB / 1.016 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/1.457, allocations: 11.98 kB / 1.016 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/1.457, allocations: 4 kB / 1.016 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.457, allocations: 0 / 1.016 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.457, allocations: 3.938 kB / 1.016 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007002/1.458, allocations: 293.8 kB / 1.016 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.458, allocations: 0 / 1.016 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/1.458, allocations: 8 kB / 1.016 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.458, allocations: 0 / 1.016 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.458, allocations: 4 kB / 1.016 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/1.458, allocations: 0 / 1.016 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.458, allocations: 3.25 kB / 1.016 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002799/1.458, allocations: 153.8 kB / 1.016 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004859/1.459, allocations: 0.5295 MB / 1.017 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/1.459, allocations: 81.02 kB / 1.017 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/1.459, allocations: 4 kB / 1.017 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/1.459, allocations: 7.984 kB / 1.017 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/1.459, allocations: 7.188 kB / 1.017 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/1.459, allocations: 0 / 1.017 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of sort global known variables: time 0.0001131/1.459, allocations: 95.11 kB / 1.017 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00195/1.461, allocations: 8 kB / 1.017 GB, free: 9.703 MB / 0.6387 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002223/1.462, allocations: 99.25 kB / 1.017 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002653/1.462, allocations: 31.06 kB / 1.017 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.462, allocations: 0 / 1.017 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/1.462, allocations: 18.62 kB / 1.017 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/1.462, allocations: 6.391 kB / 1.017 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005678/1.463, allocations: 86.12 kB / 1.017 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/1.464, allocations: 0.7071 MB / 1.018 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of SimCode: time 1.533e-06/1.464, allocations: 0 / 1.018 GB, free: 8.723 MB / 0.6387 GB