Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.43/2.43, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.003005/0.003005, allocations: 191.2 kB / 315.1 MB, free: 4.246 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.161/2.161, allocations: 205.1 MB / 0.5658 GB, free: 340 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.001914/0.001914, allocations: 97.91 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5467/0.5487, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.7603, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/1.44, allocations: 133.8 MB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/1.441, allocations: 79.39 kB / 1.014 GB, free: 6.34 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.0237/1.464, allocations: 3.176 MB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/1.464, allocations: 12 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/1.464, allocations: 11.89 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/1.465, allocations: 167 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/1.465, allocations: 3.906 kB / 1.018 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/1.465, allocations: 15.94 kB / 1.018 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002218/1.465, allocations: 34.3 kB / 1.018 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/1.465, allocations: 72.47 kB / 1.018 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.465, allocations: 0 / 1.018 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/1.466, allocations: 0 / 1.018 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.466, allocations: 0 / 1.018 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/1.467, allocations: 286.2 kB / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/1.467, allocations: 61.75 kB / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/1.467, allocations: 39.06 kB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/1.467, allocations: 8.078 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/1.467, allocations: 85.75 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 6.63e-05/1.468, allocations: 0 / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0006203/1.468, allocations: 94.77 kB / 1.018 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/1.468, allocations: 62.84 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/1.468, allocations: 116.3 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/1.469, allocations: 25.7 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/1.469, allocations: 91.86 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.892e-05/1.469, allocations: 18.72 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/1.469, allocations: 0 / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001998/1.469, allocations: 322.5 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/1.469, allocations: 19.31 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/1.469, allocations: 61.44 kB / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/1.469, allocations: 28.56 kB / 1.019 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.469, allocations: 0 / 1.019 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004542/1.47, allocations: 106.9 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.47, allocations: 7.938 kB / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.47, allocations: 7.984 kB / 1.019 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.47, allocations: 0 / 1.019 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/1.47, allocations: 19.98 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.47, allocations: 0 / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.471, allocations: 16.06 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/1.471, allocations: 4 kB / 1.019 GB, free: 1.797 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.0001985/1.471, allocations: 116.5 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/1.471, allocations: 11.89 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-05/1.471, allocations: 7.938 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/1.471, allocations: 7.906 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.471, allocations: 3.938 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.471, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/1.472, allocations: 365.8 kB / 1.02 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.472, allocations: 0 / 1.02 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/1.473, allocations: 4 kB / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/1.473, allocations: 0 / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/1.473, allocations: 7.984 kB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.473, allocations: 0 / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.473, allocations: 0.8125 kB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006395/1.473, allocations: 203.7 kB / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000806/1.474, allocations: 0.5702 MB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/1.474, allocations: 81.02 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/1.474, allocations: 4 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/1.475, allocations: 11.36 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/1.475, allocations: 8 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/1.475, allocations: 7.984 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001211/1.475, allocations: 95.47 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002252/1.477, allocations: 55.23 kB / 1.021 GB, free: 256 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.0007994/1.478, allocations: 181.6 kB / 1.021 GB, free: 84 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004182/1.479, allocations: 71.42 kB / 1.021 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.479, allocations: 0 / 1.021 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/1.479, allocations: 41.3 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/1.479, allocations: 8.047 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/1.48, allocations: 120.4 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/1.481, allocations: 0.7078 MB / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.913e-06/1.481, allocations: 0 / 1.022 GB, free: 15.14 MB / 0.6511 GB