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.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.395/4.395, allocations: 433 MB / 440.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5752/4.97, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/5.248, allocations: 98.72 MB / 0.6283 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2526/5.5, allocations: 126.1 MB / 0.7514 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003564/5.501, allocations: 87.58 kB / 0.7515 GB, free: 11.47 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02182/5.523, allocations: 3.941 MB / 0.7554 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.523, allocations: 8 kB / 0.7554 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/5.523, allocations: 11.81 kB / 0.7554 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/5.523, allocations: 182.9 kB / 0.7556 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/5.523, allocations: 4 kB / 0.7556 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/5.523, allocations: 7.984 kB / 0.7556 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002296/5.523, allocations: 55.92 kB / 0.7556 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/5.524, allocations: 89.56 kB / 0.7557 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/5.524, allocations: 0 / 0.7557 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/5.524, allocations: 8 kB / 0.7557 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/5.524, allocations: 0 / 0.7557 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/5.525, allocations: 377.1 kB / 0.7561 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/5.525, allocations: 63.34 kB / 0.7561 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/5.526, allocations: 48.78 kB / 0.7562 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/5.526, allocations: 0 / 0.7562 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/5.526, allocations: 95.36 kB / 0.7563 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/5.526, allocations: 4 kB / 0.7563 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0005103/5.526, allocations: 117.5 kB / 0.7564 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/5.526, allocations: 59.31 kB / 0.7565 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/5.527, allocations: 129.5 kB / 0.7566 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/5.527, allocations: 25.8 kB / 0.7566 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/5.527, allocations: 96.45 kB / 0.7567 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/5.527, allocations: 27.64 kB / 0.7567 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/5.527, allocations: 0 / 0.7567 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001451/5.527, allocations: 322.8 kB / 0.757 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/5.527, allocations: 27.98 kB / 0.7571 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/5.527, allocations: 65.16 kB / 0.7571 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/5.527, allocations: 27.92 kB / 0.7571 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/5.527, allocations: 4 kB / 0.7571 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003478/5.528, allocations: 117.4 kB / 0.7573 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/5.528, allocations: 8 kB / 0.7573 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/5.528, allocations: 0 / 0.7573 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/5.528, allocations: 4 kB / 0.7573 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/5.528, allocations: 23.92 kB / 0.7573 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/5.528, allocations: 4.125 kB / 0.7573 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/5.528, allocations: 19.89 kB / 0.7573 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/5.528, allocations: 4 kB / 0.7573 GB, free: 5.266 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.000133/5.528, allocations: 112.9 kB / 0.7574 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/5.529, allocations: 11.81 kB / 0.7574 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/5.529, allocations: 16.5 kB / 0.7575 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/5.529, allocations: 0 / 0.7575 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/5.529, allocations: 0 / 0.7575 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/5.529, allocations: 0 / 0.7575 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/5.53, allocations: 398.8 kB / 0.7578 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/5.53, allocations: 0 / 0.7578 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/5.53, allocations: 19.98 kB / 0.7579 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/5.53, allocations: 0 / 0.7579 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/5.53, allocations: 7.984 kB / 0.7579 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/5.53, allocations: 0 / 0.7579 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/5.53, allocations: 3.938 kB / 0.7579 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005041/5.53, allocations: 220.9 kB / 0.7581 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006277/5.531, allocations: 0.5935 MB / 0.7587 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/5.531, allocations: 89 kB / 0.7587 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/5.531, allocations: 0 / 0.7587 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/5.532, allocations: 31.97 kB / 0.7588 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/5.532, allocations: 11.98 kB / 0.7588 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/5.532, allocations: 7.984 kB / 0.7588 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001077/5.532, allocations: 105.3 kB / 0.7589 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001385/5.533, allocations: 51.91 kB / 0.7589 GB, free: 3.508 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: 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.0005898/5.534, allocations: 166.4 kB / 0.7591 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004375/5.534, allocations: 91.97 kB / 0.7592 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/5.534, allocations: 0 / 0.7592 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/5.535, allocations: 44 kB / 0.7592 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/5.535, allocations: 11.98 kB / 0.7592 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/5.536, allocations: 146.3 kB / 0.7594 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/5.536, allocations: 0.7153 MB / 0.7601 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of SimCode: time 1.883e-06/5.536, allocations: 0 / 0.7601 GB, free: 2.289 MB / 0.6355 GB