Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.385/2.385, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.001662/0.001662, allocations: 185.2 kB / 315.1 MB, free: 4.25 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.927/1.927, allocations: 205.1 MB / 0.5658 GB, free: 296 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.0013/0.001299, allocations: 91.31 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4701/0.4714, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.6969, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6634/1.36, allocations: 133.7 MB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004374/1.361, allocations: 82.94 kB / 1.014 GB, free: 6.406 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.02333/1.384, allocations: 3.053 MB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.384, allocations: 8 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/1.384, allocations: 7.906 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/1.385, allocations: 174.9 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/1.385, allocations: 4 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/1.385, allocations: 4 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001814/1.385, allocations: 26.61 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/1.385, allocations: 57.03 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.385, allocations: 0 / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/1.385, allocations: 2.875 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.385, allocations: 7.906 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/1.386, allocations: 270.9 kB / 1.018 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/1.386, allocations: 40.17 kB / 1.018 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/1.387, allocations: 31.78 kB / 1.018 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/1.387, allocations: 4 kB / 1.018 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/1.387, allocations: 65.7 kB / 1.018 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.027e-06/1.387, allocations: 0 / 1.018 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004717/1.387, allocations: 83.95 kB / 1.018 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/1.387, allocations: 51.41 kB / 1.018 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/1.388, allocations: 111.7 kB / 1.018 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/1.388, allocations: 29.7 kB / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/1.388, allocations: 91.81 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/1.388, allocations: 18.81 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/1.388, allocations: 0 / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.388, allocations: 314.2 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/1.388, allocations: 19.8 kB / 1.019 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/1.388, allocations: 41.64 kB / 1.019 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/1.389, allocations: 31.55 kB / 1.019 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/1.389, allocations: 0 / 1.019 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004493/1.389, allocations: 92.89 kB / 1.019 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.389, allocations: 4 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.389, allocations: 4 kB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.389, allocations: 0 / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/1.39, allocations: 11 kB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.39, allocations: 7.984 kB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/1.39, allocations: 8.062 kB / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/1.39, allocations: 4 kB / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.0001808/1.39, allocations: 111.1 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/1.39, allocations: 11.84 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/1.39, allocations: 16.23 kB / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.39, allocations: 0 / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.39, allocations: 0 / 1.019 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.39, allocations: 4 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/1.391, allocations: 318.9 kB / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.391, allocations: 0 / 1.019 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/1.391, allocations: 4 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/1.391, allocations: 0 / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/1.391, allocations: 3.984 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/1.391, allocations: 7.938 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.392, allocations: 4 kB / 1.019 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004387/1.392, allocations: 180.4 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000637/1.393, allocations: 0.5441 MB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/1.393, allocations: 77.11 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/1.393, allocations: 7.906 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/1.393, allocations: 11.98 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/1.393, allocations: 3.75 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/1.393, allocations: 4 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001092/1.393, allocations: 91.25 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002135/1.396, allocations: 55.19 kB / 1.02 GB, free: 0.6445 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0008443/1.396, allocations: 179.1 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000368/1.397, allocations: 52.67 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.397, allocations: 0 / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/1.397, allocations: 30.23 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/1.397, allocations: 4 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/1.398, allocations: 104.7 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005601/1.399, allocations: 0.7037 MB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.402e-06/1.399, allocations: 0 / 1.021 GB, free: 15.57 MB / 0.6511 GB