Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.528/2.528, 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.002206/0.002206, allocations: 183.9 kB / 315.1 MB, free: 4.297 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.098/2.098, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001306/0.001306, allocations: 97.5 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5443/0.5456, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.7648, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7389/1.504, allocations: 133.8 MB / 1.014 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.504, allocations: 85.06 kB / 1.014 GB, free: 6.418 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0162/1.52, allocations: 3.176 MB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.52, allocations: 8 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/1.52, allocations: 7.906 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/1.521, allocations: 178.9 kB / 1.018 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/1.521, allocations: 11.91 kB / 1.018 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/1.521, allocations: 4 kB / 1.018 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000155/1.521, allocations: 33.06 kB / 1.018 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/1.521, allocations: 73.92 kB / 1.018 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.521, allocations: 0 / 1.018 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/1.521, allocations: 0 / 1.018 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.521, allocations: 0 / 1.018 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/1.522, allocations: 292.8 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/1.522, allocations: 55.73 kB / 1.018 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/1.522, allocations: 30.8 kB / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/1.522, allocations: 0 / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/1.523, allocations: 87.88 kB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/1.523, allocations: 0 / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004433/1.523, allocations: 106.9 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.523, allocations: 55.34 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/1.523, allocations: 115.8 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/1.523, allocations: 25.7 kB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/1.523, allocations: 91.92 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/1.523, allocations: 22.69 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/1.523, allocations: 0 / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.524, allocations: 317.8 kB / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/1.524, allocations: 22.75 kB / 1.019 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/1.524, allocations: 71.61 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/1.524, allocations: 22.98 kB / 1.019 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.524, allocations: 4 kB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002776/1.524, allocations: 106.3 kB / 1.019 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.524, allocations: 8 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.524, allocations: 0 / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.524, allocations: 4 kB / 1.019 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/1.525, allocations: 19.61 kB / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.525, allocations: 3.938 kB / 1.019 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/1.525, allocations: 19.69 kB / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/1.525, allocations: 4 kB / 1.019 GB, free: 1.875 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001283/1.525, allocations: 108.9 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/1.525, allocations: 11.89 kB / 1.019 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/1.525, allocations: 15.31 kB / 1.019 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.525, allocations: 3.906 kB / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.525, allocations: 0 / 1.019 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.525, allocations: 4 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006706/1.526, allocations: 356.3 kB / 1.02 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.526, allocations: 192 / 1.02 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/1.526, allocations: 4 kB / 1.02 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/1.526, allocations: 7.938 kB / 1.02 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/1.526, allocations: 7.922 kB / 1.02 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.526, allocations: 0 / 1.02 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.526, allocations: 0 / 1.02 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003958/1.526, allocations: 198.9 kB / 1.02 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000519/1.527, allocations: 0.5697 MB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/1.527, allocations: 85.02 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/1.527, allocations: 3.984 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/1.527, allocations: 11.12 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/1.527, allocations: 7.984 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/1.527, allocations: 4 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of sort global known variables: time 8.212e-05/1.527, allocations: 95.45 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001313/1.529, allocations: 51 kB / 1.021 GB, free: 348 kB / 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005287/1.529, allocations: 185.6 kB / 1.021 GB, free: 172 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002649/1.53, allocations: 65 kB / 1.021 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.53, allocations: 0 / 1.021 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/1.53, allocations: 46.17 kB / 1.021 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/1.53, allocations: 13.8 kB / 1.021 GB, free: 84 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/1.531, allocations: 118.3 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/1.531, allocations: 0.7075 MB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.531, allocations: 3.938 kB / 1.022 GB, free: 15.22 MB / 0.6511 GB