Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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 9.1.1-maint.9.1.x/package.mo): time 1.96/1.96, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.00115, allocations: 180.4 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.3 MB / 0.7819 GB, free: 1.445 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 95.83 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5506/0.5516, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.7905, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6898/1.48, allocations: 150.4 MB / 1.352 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.481, allocations: 81.16 kB / 1.352 GB, free: 16.11 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.009746/1.49, allocations: 3.097 MB / 1.355 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/1.491, allocations: 8.969 kB / 1.355 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/1.491, allocations: 8.031 kB / 1.355 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/1.491, allocations: 170.9 kB / 1.355 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/1.491, allocations: 1.031 kB / 1.355 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/1.491, allocations: 7.625 kB / 1.355 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.556e-05/1.491, allocations: 23.5 kB / 1.356 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/1.491, allocations: 64.23 kB / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/1.491, allocations: 0 / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/1.491, allocations: 0.6094 kB / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.491, allocations: 0.9688 kB / 1.356 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/1.491, allocations: 276.8 kB / 1.356 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/1.491, allocations: 38.94 kB / 1.356 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/1.491, allocations: 28.06 kB / 1.356 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/1.491, allocations: 1.562 kB / 1.356 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/1.492, allocations: 72.36 kB / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.492, allocations: 0 / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002203/1.492, allocations: 82.39 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/1.492, allocations: 53.28 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/1.492, allocations: 111.5 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.492, allocations: 26.52 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/1.492, allocations: 91.98 kB / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/1.492, allocations: 16.16 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.492, allocations: 0 / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/1.492, allocations: 320.1 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-05/1.492, allocations: 16.97 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/1.492, allocations: 39.64 kB / 1.357 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.254e-05/1.492, allocations: 20.58 kB / 1.357 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.492, allocations: 4.688 kB / 1.357 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001606/1.492, allocations: 88.34 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/1.492, allocations: 5.031 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.492, allocations: 4.812 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.492, allocations: 9.391 kB / 1.357 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.493, allocations: 17.97 kB / 1.357 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/1.493, allocations: 0.8438 kB / 1.357 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/1.493, allocations: 12.58 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/1.493, allocations: 7.219 kB / 1.357 GB, free: 14.27 MB / 0.8073 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 6.183e-05/1.493, allocations: 108.6 kB / 1.357 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/1.493, allocations: 7.625 kB / 1.357 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/1.493, allocations: 10.72 kB / 1.357 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.493, allocations: 1 kB / 1.357 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.493, allocations: 4.906 kB / 1.357 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/1.493, allocations: 1.219 kB / 1.357 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/1.493, allocations: 317.2 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.493, allocations: 2.016 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/1.493, allocations: 9.609 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.493, allocations: 0.9375 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/1.493, allocations: 2.172 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.493, allocations: 4.688 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.493, allocations: 0 / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000156/1.493, allocations: 180.7 kB / 1.357 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001907/1.494, allocations: 0.5477 MB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/1.494, allocations: 83.86 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/1.494, allocations: 2.703 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/1.494, allocations: 6.188 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/1.494, allocations: 3.984 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/1.494, allocations: 3.172 kB / 1.358 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.372e-05/1.494, allocations: 94.77 kB / 1.358 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008714/1.495, allocations: 61.34 kB / 1.358 GB, free: 13.03 MB / 0.8073 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.0003632/1.495, allocations: 165.7 kB / 1.358 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001681/1.495, allocations: 55.06 kB / 1.358 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.495, allocations: 0 / 1.358 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/1.495, allocations: 29.39 kB / 1.358 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/1.496, allocations: 10.94 kB / 1.359 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/1.496, allocations: 97.27 kB / 1.359 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/1.496, allocations: 0.7059 MB / 1.359 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/1.496, allocations: 0 / 1.359 GB, free: 12.14 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)