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.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.305/4.305, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5598/4.864, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/5.105, allocations: 98.72 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/5.378, allocations: 126 MB / 0.7513 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003918/5.379, allocations: 83.58 kB / 0.7514 GB, free: 11.51 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.01695/5.396, allocations: 3.305 MB / 0.7546 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/5.396, allocations: 8 kB / 0.7546 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/5.396, allocations: 7.906 kB / 0.7547 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/5.396, allocations: 171 kB / 0.7548 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/5.396, allocations: 7.906 kB / 0.7548 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/5.396, allocations: 4 kB / 0.7548 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001508/5.396, allocations: 31.98 kB / 0.7549 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/5.397, allocations: 69.66 kB / 0.7549 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/5.397, allocations: 0 / 0.7549 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/5.397, allocations: 4 kB / 0.7549 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/5.397, allocations: 0 / 0.7549 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/5.398, allocations: 301.2 kB / 0.7552 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/5.398, allocations: 54.56 kB / 0.7553 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/5.398, allocations: 37.58 kB / 0.7553 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/5.398, allocations: 0 / 0.7553 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/5.398, allocations: 75.38 kB / 0.7554 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/5.398, allocations: 0 / 0.7554 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004214/5.398, allocations: 97.61 kB / 0.7555 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/5.399, allocations: 55.41 kB / 0.7555 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/5.399, allocations: 116.9 kB / 0.7556 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/5.399, allocations: 29.7 kB / 0.7557 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/5.399, allocations: 88.12 kB / 0.7557 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/5.399, allocations: 27.83 kB / 0.7558 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/5.399, allocations: 0 / 0.7558 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001352/5.399, allocations: 322.8 kB / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/5.399, allocations: 20 kB / 0.7561 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/5.399, allocations: 52.72 kB / 0.7561 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/5.399, allocations: 31.98 kB / 0.7562 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/5.399, allocations: 3.906 kB / 0.7562 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002966/5.4, allocations: 105.5 kB / 0.7563 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/5.4, allocations: 4 kB / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/5.4, allocations: 0 / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/5.4, allocations: 4 kB / 0.7563 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/5.4, allocations: 24.08 kB / 0.7563 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/5.4, allocations: 0 / 0.7563 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/5.4, allocations: 4 kB / 0.7563 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/5.4, allocations: 4 kB / 0.7563 GB, free: 6.242 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.0001236/5.4, allocations: 117.8 kB / 0.7564 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/5.4, allocations: 7.906 kB / 0.7564 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/5.4, allocations: 16.38 kB / 0.7565 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/5.4, allocations: 0 / 0.7565 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/5.4, allocations: 4.062 kB / 0.7565 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/5.4, allocations: 0 / 0.7565 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006623/5.401, allocations: 350.9 kB / 0.7568 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/5.401, allocations: 4 kB / 0.7568 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/5.401, allocations: 4 kB / 0.7568 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/5.401, allocations: 48 / 0.7568 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/5.401, allocations: 11.97 kB / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/5.401, allocations: 0 / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/5.401, allocations: 0 / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003779/5.402, allocations: 199.3 kB / 0.757 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006378/5.402, allocations: 0.5638 MB / 0.7576 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/5.402, allocations: 89.02 kB / 0.7576 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/5.402, allocations: 0 / 0.7576 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/5.403, allocations: 7.984 kB / 0.7576 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/5.403, allocations: 8 kB / 0.7577 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/5.403, allocations: 7.984 kB / 0.7577 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.525e-05/5.403, allocations: 95.44 kB / 0.7578 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001302/5.404, allocations: 59.86 kB / 0.7578 GB, free: 4.613 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.0005586/5.405, allocations: 179.2 kB / 0.758 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000303/5.405, allocations: 67.92 kB / 0.758 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/5.405, allocations: 0 / 0.758 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/5.405, allocations: 39.92 kB / 0.7581 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/5.406, allocations: 15.44 kB / 0.7581 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/5.406, allocations: 111.5 kB / 0.7582 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/5.407, allocations: 0.7075 MB / 0.7589 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/5.407, allocations: 0 / 0.7589 GB, free: 3.445 MB / 0.6355 GB