Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.432/2.432, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.001657/0.001657, allocations: 185.3 kB / 315.1 MB, free: 4.258 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.932/1.932, allocations: 205.1 MB / 0.5658 GB, free: 360 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.001783/0.001782, allocations: 95.31 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4636/0.4654, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.6647, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6852/1.35, allocations: 133.7 MB / 1.014 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.35, allocations: 82.69 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0194/1.37, allocations: 2.977 MB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.37, allocations: 8 kB / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.517e-05/1.37, allocations: 7.906 kB / 1.017 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/1.37, allocations: 178.9 kB / 1.017 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/1.37, allocations: 7.984 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/1.37, allocations: 4 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001782/1.37, allocations: 29.8 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/1.371, allocations: 57.16 kB / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.371, allocations: 0 / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.371, allocations: 0 / 1.017 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/1.371, allocations: 3.906 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/1.372, allocations: 263.5 kB / 1.018 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/1.372, allocations: 45.91 kB / 1.018 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/1.372, allocations: 23.61 kB / 1.018 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/1.372, allocations: 4 kB / 1.018 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/1.372, allocations: 66.38 kB / 1.018 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.278e-06/1.372, allocations: 4 kB / 1.018 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004027/1.373, allocations: 79.45 kB / 1.018 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/1.373, allocations: 59.45 kB / 1.018 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/1.373, allocations: 108.4 kB / 1.018 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/1.373, allocations: 25.7 kB / 1.018 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/1.373, allocations: 92.25 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/1.373, allocations: 11.75 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/1.373, allocations: 4 kB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.373, allocations: 325.9 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/1.374, allocations: 18.62 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/1.374, allocations: 49.91 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/1.374, allocations: 15.92 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.374, allocations: 8 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003775/1.374, allocations: 89.58 kB / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/1.374, allocations: 8 kB / 1.019 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.374, allocations: 3.938 kB / 1.019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.374, allocations: 0 / 1.019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/1.375, allocations: 19.92 kB / 1.019 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.375, allocations: 4 kB / 1.019 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/1.375, allocations: 8.156 kB / 1.019 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/1.375, allocations: 4 kB / 1.019 GB, free: 2.285 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001629/1.375, allocations: 116.6 kB / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/1.375, allocations: 7.906 kB / 1.019 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/1.375, allocations: 8.359 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.375, allocations: 0 / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.375, allocations: 3.938 kB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.375, allocations: 8 kB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/1.376, allocations: 311.5 kB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.376, allocations: 3.938 kB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/1.376, allocations: 7.984 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/1.376, allocations: 0 / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/1.376, allocations: 7 kB / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.376, allocations: 0 / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.376, allocations: 0 / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000391/1.377, allocations: 177.4 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006286/1.377, allocations: 0.547 MB / 1.02 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/1.378, allocations: 81.02 kB / 1.02 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/1.378, allocations: 0 / 1.02 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/1.378, allocations: 11.98 kB / 1.02 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.378, allocations: 7.125 kB / 1.02 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/1.378, allocations: 4.031 kB / 1.02 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001291/1.378, allocations: 87.16 kB / 1.02 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00216/1.38, allocations: 59.48 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000758/1.381, allocations: 172.4 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003679/1.382, allocations: 50.55 kB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.382, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.382, allocations: 34.55 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/1.382, allocations: 7.906 kB / 1.02 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/1.383, allocations: 98.11 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/1.383, allocations: 0.7105 MB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of SimCode: time 1.774e-06/1.384, allocations: 0 / 1.021 GB, free: 15.74 MB / 0.6511 GB