Running: ./testmodel.py --libraries=/var/lib/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 (/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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [: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.22/2.22, allocations: 253.1 MB / 260.4 MB, free: 7.465 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.001579/0.001579, allocations: 181.2 kB / 319.6 MB, free: 3.309 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 1.98/1.98, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001261/0.001261, allocations: 97 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.036e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7111/0.9072, allocations: 133.8 MB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.9076, allocations: 80.94 kB / 1.019 GB, free: 4.395 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.01427/0.9219, allocations: 2.728 MB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.9219, allocations: 0 / 1.021 GB, free: 2.129 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.0006715/0.9226, allocations: 447.9 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9227, allocations: 12.03 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.9227, allocations: 8.938 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.9229, allocations: 182.9 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.923, allocations: 11.89 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.923, allocations: 4 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001452/0.9232, allocations: 29.38 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.9234, allocations: 75.89 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.9234, allocations: 3.938 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.9234, allocations: 3.938 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-06/0.9235, allocations: 4 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.9241, allocations: 281.6 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.9243, allocations: 56 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.9244, allocations: 31.11 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.9245, allocations: 4 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.9247, allocations: 88.66 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.986e-06/0.9247, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004567/0.9252, allocations: 98.62 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.9252, allocations: 62.78 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.9254, allocations: 113 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.9254, allocations: 29.7 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.9255, allocations: 83.69 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.9255, allocations: 26.61 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.9255, allocations: 4 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9257, allocations: 322.8 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.9258, allocations: 15 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.9259, allocations: 64.56 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.785e-05/0.926, allocations: 27.23 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.926, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003008/0.9263, allocations: 111.2 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9263, allocations: 6.812 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9264, allocations: 0 / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9264, allocations: 4.094 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.9266, allocations: 24.08 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.9266, allocations: 7.984 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.9267, allocations: 7.906 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.9268, allocations: 4 kB / 1.024 GB, free: 15.86 MB / 0.6511 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.0001238/0.9269, allocations: 116.2 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.9269, allocations: 11.73 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.927, allocations: 16.36 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.927, allocations: 7.844 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.927, allocations: 96 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.9271, allocations: 3.938 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.9277, allocations: 356.5 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9277, allocations: 4 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.9278, allocations: 4 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.9278, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.9278, allocations: 7.984 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9279, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9279, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003682/0.9283, allocations: 202.3 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.9283, allocations: 81.02 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.9284, allocations: 7.906 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.9286, allocations: 11.98 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.9286, allocations: 3.75 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.9287, allocations: 7.984 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.855e-05/0.9287, allocations: 92.28 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005164/0.9293, allocations: 55.36 kB / 1.025 GB, free: 14.88 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.000485/0.9298, allocations: 167.8 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.93, allocations: 71.61 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.93, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.9302, allocations: 33 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.9305, allocations: 9.859 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.931, allocations: 129 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.9314, allocations: 0.7117 MB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.9314, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of Templates: time 0.006834/0.9383, allocations: 1.875 MB / 1.027 GB, free: 11.92 MB / 0.6511 GB