Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, allocations: 253.1 MB / 260.4 MB, free: 7.52 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003262/0.003261, allocations: 177.2 kB / 319.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.5704 GB, free: 15.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001248, allocations: 94.47 kB / 0.6746 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.057e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 106.2 MB / 0.888 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6275/0.8223, allocations: 133.8 MB / 1.019 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.8227, allocations: 78.89 kB / 1.019 GB, free: 4.629 MB / 0.6355 GB [/var/lib/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: Performance of FrontEnd: time 0.0144/0.8371, allocations: 2.727 MB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.8371, allocations: 8 kB / 1.021 GB, free: 2.352 MB / 0.6355 GB 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.0007459/0.8379, allocations: 441.3 kB / 1.022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.8379, allocations: 8.031 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.838, allocations: 11.91 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.8382, allocations: 186.9 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.8382, allocations: 4.406 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.8383, allocations: 11.88 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001396/0.8384, allocations: 26.56 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.8386, allocations: 74.08 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8387, allocations: 7.938 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.8387, allocations: 4 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.8387, allocations: 0 / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.8394, allocations: 289.6 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.8395, allocations: 51.02 kB / 1.023 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.8397, allocations: 34.03 kB / 1.023 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.8397, allocations: 4 kB / 1.023 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.8399, allocations: 87.78 kB / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.125e-06/0.8399, allocations: 0 / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004571/0.8404, allocations: 106.3 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.8405, allocations: 59.34 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8406, allocations: 111.3 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.8406, allocations: 33.2 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.8407, allocations: 84.36 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.8407, allocations: 23.22 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.8408, allocations: 0 / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8409, allocations: 322.8 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.841, allocations: 23.19 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.8411, allocations: 56.52 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.375e-05/0.8412, allocations: 27.3 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8412, allocations: 8 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002709/0.8415, allocations: 107.3 kB / 1.024 GB, free: 136 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.8415, allocations: 4 kB / 1.024 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8415, allocations: 0 / 1.024 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8416, allocations: 4 kB / 1.024 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.8418, allocations: 15.94 kB / 1.024 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.8418, allocations: 7.984 kB / 1.024 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.8419, allocations: 12.06 kB / 1.024 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.8419, allocations: 8 kB / 1.024 GB, free: 84 kB / 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.0001494/0.8421, allocations: 117.6 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.8421, allocations: 11.84 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.8422, allocations: 8.359 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.8423, allocations: 3.906 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.8423, allocations: 0 / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.8423, allocations: 8 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006971/0.843, allocations: 360.8 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8431, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.8432, allocations: 4 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.8432, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.8432, allocations: 3.984 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.8432, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8432, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004271/0.8437, allocations: 202.1 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.8438, allocations: 85.02 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.8438, allocations: 3.906 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.844, allocations: 11.48 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.8441, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.8441, allocations: 4.172 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.351e-05/0.8442, allocations: 100.2 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005038/0.8447, allocations: 55.86 kB / 1.025 GB, free: 15.1 MB / 0.6511 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.000501/0.8453, allocations: 171 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.8455, allocations: 68.67 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8456, allocations: 4.062 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.8457, allocations: 38.19 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.846, allocations: 19.86 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.8466, allocations: 114.9 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.8469, allocations: 0.7075 MB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.847, allocations: 3.938 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.007043/0.854, allocations: 1.879 MB / 1.027 GB, free: 12.13 MB / 0.6511 GB