Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.417/2.417, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001609/0.001609, allocations: 184 kB / 315.1 MB, free: 4.215 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.949/1.949, allocations: 205.1 MB / 0.5658 GB, free: 240 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.001241/0.001241, allocations: 83.14 kB / 0.67 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5147/0.516, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.7242, allocations: 106.2 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7042/1.428, allocations: 134.1 MB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/1.429, allocations: 78.55 kB / 1.014 GB, free: 6.016 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.02164/1.45, allocations: 3.338 MB / 1.018 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.451, allocations: 8 kB / 1.018 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/1.451, allocations: 15.8 kB / 1.018 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/1.451, allocations: 172.5 kB / 1.018 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/1.451, allocations: 4 kB / 1.018 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/1.451, allocations: 7.906 kB / 1.018 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002029/1.451, allocations: 28.38 kB / 1.018 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/1.452, allocations: 76.39 kB / 1.018 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.452, allocations: 3.938 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/1.452, allocations: 3.188 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/1.452, allocations: 0 / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/1.453, allocations: 309.3 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/1.453, allocations: 47.64 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/1.453, allocations: 38.28 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/1.453, allocations: 0 / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/1.454, allocations: 80.91 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.416e-06/1.454, allocations: 0 / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005778/1.454, allocations: 89.64 kB / 1.019 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/1.454, allocations: 67.42 kB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/1.454, allocations: 117.9 kB / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/1.455, allocations: 25.7 kB / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/1.455, allocations: 91.11 kB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/1.455, allocations: 15.12 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/1.455, allocations: 0 / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.455, allocations: 322 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/1.455, allocations: 22.31 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/1.455, allocations: 54.42 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/1.455, allocations: 31.67 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.455, allocations: 0 / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000471/1.456, allocations: 111.7 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/1.456, allocations: 8.094 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.456, allocations: 2 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.456, allocations: 4 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/1.456, allocations: 19.92 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.456, allocations: 0 / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/1.457, allocations: 4 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/1.457, allocations: 4 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$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.0001772/1.457, allocations: 120.3 kB / 1.02 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/1.457, allocations: 11.89 kB / 1.02 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/1.457, allocations: 16.25 kB / 1.02 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.457, allocations: 0 / 1.02 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.457, allocations: 0 / 1.02 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.457, allocations: 0 / 1.02 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/1.458, allocations: 357.5 kB / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.458, allocations: 4 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/1.458, allocations: 11.94 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/1.458, allocations: 0 / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/1.458, allocations: 3.984 kB / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.459, allocations: 4.062 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.459, allocations: 4 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005582/1.459, allocations: 190.3 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007465/1.46, allocations: 0.5672 MB / 1.021 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.46, allocations: 85.02 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/1.46, allocations: 3.984 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/1.46, allocations: 4 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/1.461, allocations: 11.3 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/1.461, allocations: 4 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001154/1.461, allocations: 94.7 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002219/1.463, allocations: 58.39 kB / 1.021 GB, free: 15.83 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000777/1.464, allocations: 171.8 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004269/1.464, allocations: 65.53 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.464, allocations: 4.062 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/1.465, allocations: 42.88 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/1.465, allocations: 3.984 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/1.466, allocations: 110.9 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/1.466, allocations: 0.7113 MB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.466, allocations: 0 / 1.022 GB, free: 14.73 MB / 0.6511 GB