Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.553/2.553, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.001627/0.001627, allocations: 182.6 kB / 315.1 MB, free: 4.305 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.031/2.031, allocations: 205.1 MB / 0.5658 GB, free: 412 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.00132/0.00132, allocations: 98.62 kB / 0.67 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4939/0.4952, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.7347, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7056/1.44, allocations: 134.2 MB / 1.015 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004421/1.441, allocations: 80.23 kB / 1.015 GB, free: 6.109 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.03219/1.473, allocations: 4.028 MB / 1.019 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.473, allocations: 8 kB / 1.019 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/1.473, allocations: 15.81 kB / 1.019 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/1.474, allocations: 178.7 kB / 1.019 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/1.474, allocations: 7.984 kB / 1.019 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/1.474, allocations: 4 kB / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003392/1.474, allocations: 47.12 kB / 1.019 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/1.475, allocations: 96.28 kB / 1.019 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/1.475, allocations: 0 / 1.019 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/1.475, allocations: 0 / 1.019 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.475, allocations: 0 / 1.019 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/1.477, allocations: 387.7 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/1.477, allocations: 56.06 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/1.477, allocations: 48.17 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/1.477, allocations: 4 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/1.478, allocations: 95.42 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.048e-06/1.478, allocations: 7.938 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007738/1.479, allocations: 113.1 kB / 1.02 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/1.479, allocations: 59.39 kB / 1.02 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/1.479, allocations: 131.2 kB / 1.02 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/1.479, allocations: 29.7 kB / 1.02 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/1.479, allocations: 91.8 kB / 1.02 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/1.479, allocations: 19.28 kB / 1.02 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/1.479, allocations: 0 / 1.02 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.48, allocations: 325.4 kB / 1.02 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/1.48, allocations: 19.06 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/1.48, allocations: 66.64 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/1.48, allocations: 31.08 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.48, allocations: 3.938 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008101/1.481, allocations: 115 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/1.481, allocations: 7.984 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.481, allocations: 4.125 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.481, allocations: 4 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/1.481, allocations: 26.98 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.482, allocations: 4 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/1.482, allocations: 23.83 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/1.482, allocations: 4 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001975/1.482, allocations: 105.6 kB / 1.021 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/1.482, allocations: 11.91 kB / 1.021 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.524e-05/1.482, allocations: 11.98 kB / 1.021 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.482, allocations: 3.906 kB / 1.021 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.482, allocations: 4 kB / 1.021 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.482, allocations: 0 / 1.021 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.484, allocations: 401.6 kB / 1.021 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.484, allocations: 4 kB / 1.021 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/1.484, allocations: 19.92 kB / 1.021 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/1.484, allocations: 192 / 1.021 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/1.484, allocations: 7.734 kB / 1.021 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/1.484, allocations: 3.938 kB / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.484, allocations: 0 / 1.021 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007344/1.485, allocations: 223.2 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008892/1.486, allocations: 0.5772 MB / 1.022 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.292e-05/1.486, allocations: 89 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/1.486, allocations: 0 / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/1.487, allocations: 35.97 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.915e-05/1.487, allocations: 7.922 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/1.487, allocations: 7.875 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001536/1.487, allocations: 106.3 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002429/1.49, allocations: 66.89 kB / 1.022 GB, free: 14.99 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0008688/1.49, allocations: 167.9 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000568/1.491, allocations: 83.11 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.491, allocations: 4 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/1.491, allocations: 52.8 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/1.492, allocations: 1.891 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/1.493, allocations: 146.2 kB / 1.023 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006178/1.494, allocations: 0.7153 MB / 1.023 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of SimCode: time 2.214e-06/1.494, allocations: 4 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB