Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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 loadModel(Buildings): time 4.469/4.469, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5723/5.041, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/5.291, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2635/5.554, allocations: 125.9 MB / 0.7513 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/5.555, allocations: 87.59 kB / 0.7514 GB, free: 11.6 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.02041/5.575, allocations: 3.279 MB / 0.7546 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/5.575, allocations: 15.94 kB / 0.7546 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/5.575, allocations: 11.91 kB / 0.7546 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/5.575, allocations: 175 kB / 0.7547 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/5.576, allocations: 7.891 kB / 0.7548 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/5.576, allocations: 7.984 kB / 0.7548 GB, free: 8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002348/5.576, allocations: 28 kB / 0.7548 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/5.576, allocations: 69.66 kB / 0.7549 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/5.576, allocations: 0 / 0.7549 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/5.576, allocations: 3.984 kB / 0.7549 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/5.576, allocations: 0 / 0.7549 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/5.577, allocations: 301.2 kB / 0.7551 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/5.578, allocations: 50.56 kB / 0.7552 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/5.578, allocations: 29.58 kB / 0.7552 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/5.578, allocations: 8 kB / 0.7552 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/5.578, allocations: 79.38 kB / 0.7553 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 3.146e-06/5.578, allocations: 0 / 0.7553 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005854/5.579, allocations: 97.61 kB / 0.7554 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/5.579, allocations: 55.41 kB / 0.7555 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/5.579, allocations: 112.9 kB / 0.7556 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/5.579, allocations: 29.7 kB / 0.7556 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/5.579, allocations: 92.12 kB / 0.7557 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/5.579, allocations: 19.89 kB / 0.7557 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/5.579, allocations: 0 / 0.7557 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001467/5.579, allocations: 318.8 kB / 0.756 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.577e-05/5.579, allocations: 20 kB / 0.756 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/5.579, allocations: 60.22 kB / 0.7561 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.6e-05/5.58, allocations: 27.98 kB / 0.7561 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/5.58, allocations: 7.906 kB / 0.7561 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002884/5.58, allocations: 101.5 kB / 0.7562 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/5.58, allocations: 8 kB / 0.7562 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/5.58, allocations: 0 / 0.7562 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/5.58, allocations: 0 / 0.7562 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/5.58, allocations: 16.08 kB / 0.7562 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/5.58, allocations: 8 kB / 0.7562 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/5.58, allocations: 4 kB / 0.7562 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/5.58, allocations: 4 kB / 0.7562 GB, free: 6.348 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.0001181/5.581, allocations: 123.7 kB / 0.7564 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/5.581, allocations: 7.906 kB / 0.7564 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/5.581, allocations: 8.312 kB / 0.7564 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/5.581, allocations: 8 kB / 0.7564 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/5.581, allocations: 0 / 0.7564 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/5.581, allocations: 0 / 0.7564 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/5.581, allocations: 354.9 kB / 0.7567 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/5.581, allocations: 0 / 0.7567 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/5.581, allocations: 8.062 kB / 0.7567 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/5.581, allocations: 4 kB / 0.7567 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/5.581, allocations: 3.984 kB / 0.7567 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/5.581, allocations: 160 / 0.7567 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.581, allocations: 4 kB / 0.7567 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004008/5.582, allocations: 199.3 kB / 0.7569 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005299/5.582, allocations: 0.5638 MB / 0.7575 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/5.582, allocations: 85 kB / 0.7576 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/5.583, allocations: 8 kB / 0.7576 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/5.583, allocations: 4 kB / 0.7576 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/5.583, allocations: 7.984 kB / 0.7576 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/5.583, allocations: 0 / 0.7576 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.531e-05/5.583, allocations: 103.2 kB / 0.7577 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001279/5.584, allocations: 59.86 kB / 0.7577 GB, free: 4.715 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: 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.0004779/5.585, allocations: 167.2 kB / 0.7579 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002518/5.585, allocations: 75.84 kB / 0.758 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/5.585, allocations: 0 / 0.758 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/5.585, allocations: 35.94 kB / 0.758 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/5.585, allocations: 12.17 kB / 0.758 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/5.586, allocations: 115.5 kB / 0.7581 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/5.586, allocations: 0.7075 MB / 0.7588 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/5.586, allocations: 0 / 0.7588 GB, free: 3.551 MB / 0.6355 GB