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.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.232/4.232, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5631/4.796, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/5.069, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/5.378, allocations: 125.7 MB / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005302/5.378, allocations: 83.59 kB / 0.7511 GB, free: 11.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02084/5.399, allocations: 3.012 MB / 0.7541 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/5.399, allocations: 8 kB / 0.7541 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/5.399, allocations: 7.906 kB / 0.7541 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/5.4, allocations: 170.9 kB / 0.7542 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/5.4, allocations: 4 kB / 0.7542 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/5.4, allocations: 4 kB / 0.7542 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001535/5.4, allocations: 23.98 kB / 0.7543 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/5.4, allocations: 57.61 kB / 0.7543 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/5.4, allocations: 3.906 kB / 0.7543 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/5.4, allocations: 4 kB / 0.7543 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/5.4, allocations: 4 kB / 0.7543 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/5.401, allocations: 277.3 kB / 0.7546 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/5.401, allocations: 34.58 kB / 0.7546 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/5.401, allocations: 25.7 kB / 0.7547 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/5.401, allocations: 7.984 kB / 0.7547 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/5.401, allocations: 67.33 kB / 0.7547 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.476e-06/5.402, allocations: 0 / 0.7547 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003969/5.402, allocations: 77.58 kB / 0.7548 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/5.402, allocations: 59.41 kB / 0.7549 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/5.402, allocations: 112.9 kB / 0.755 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/5.402, allocations: 25.7 kB / 0.755 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/5.402, allocations: 92.33 kB / 0.7551 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/5.402, allocations: 15.8 kB / 0.7551 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/5.402, allocations: 0 / 0.7551 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002271/5.403, allocations: 318.8 kB / 0.7554 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/5.403, allocations: 19.98 kB / 0.7554 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/5.403, allocations: 39.44 kB / 0.7555 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/5.403, allocations: 31.92 kB / 0.7555 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/5.403, allocations: 0 / 0.7555 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003995/5.403, allocations: 93.56 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/5.404, allocations: 4 kB / 0.7556 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/5.404, allocations: 3.984 kB / 0.7556 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/5.404, allocations: 0 / 0.7556 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/5.404, allocations: 15.98 kB / 0.7556 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/5.404, allocations: 3.938 kB / 0.7556 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/5.404, allocations: 16 kB / 0.7556 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/5.404, allocations: 8.047 kB / 0.7556 GB, free: 6.984 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 0.0001397/5.404, allocations: 115.6 kB / 0.7557 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/5.404, allocations: 11.91 kB / 0.7557 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/5.404, allocations: 8.375 kB / 0.7557 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/5.404, allocations: 4 kB / 0.7558 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/5.404, allocations: 0 / 0.7558 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/5.404, allocations: 4 kB / 0.7558 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/5.405, allocations: 315.1 kB / 0.7561 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/5.405, allocations: 7.938 kB / 0.7561 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.516e-05/5.405, allocations: 7.984 kB / 0.7561 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/5.405, allocations: 0 / 0.7561 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/5.405, allocations: 0 / 0.7561 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/5.405, allocations: 0 / 0.7561 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/5.405, allocations: 0 / 0.7561 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003953/5.406, allocations: 187.4 kB / 0.7563 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006086/5.406, allocations: 0.5481 MB / 0.7568 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/5.406, allocations: 81.02 kB / 0.7569 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/5.407, allocations: 3.984 kB / 0.7569 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/5.407, allocations: 12 kB / 0.7569 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/5.407, allocations: 7.984 kB / 0.7569 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/5.407, allocations: 4 kB / 0.7569 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.5e-05/5.407, allocations: 87.28 kB / 0.757 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002413/5.409, allocations: 47.98 kB / 0.757 GB, free: 5.449 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: 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.0007183/5.41, allocations: 174.6 kB / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003421/5.411, allocations: 55.92 kB / 0.7572 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/5.411, allocations: 4 kB / 0.7572 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/5.411, allocations: 27.98 kB / 0.7573 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/5.411, allocations: 4 kB / 0.7573 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/5.412, allocations: 107.5 kB / 0.7574 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005067/5.412, allocations: 0.7154 MB / 0.7581 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of SimCode: time 1.222e-06/5.412, allocations: 0 / 0.7581 GB, free: 4.309 MB / 0.6355 GB