Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.326/4.326, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5762/4.903, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/5.152, allocations: 98.72 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3164/5.469, allocations: 125.7 MB / 0.751 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004203/5.469, allocations: 87.58 kB / 0.7511 GB, free: 11.87 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.02109/5.49, allocations: 3.009 MB / 0.754 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/5.49, allocations: 8 kB / 0.754 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/5.49, allocations: 7.906 kB / 0.754 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/5.491, allocations: 174.9 kB / 0.7542 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/5.491, allocations: 11.92 kB / 0.7542 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/5.491, allocations: 4 kB / 0.7542 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001735/5.491, allocations: 23.98 kB / 0.7542 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/5.491, allocations: 53.67 kB / 0.7543 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/5.491, allocations: 7.844 kB / 0.7543 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/5.491, allocations: 0 / 0.7543 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/5.491, allocations: 0 / 0.7543 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/5.492, allocations: 281.3 kB / 0.7546 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/5.492, allocations: 42.52 kB / 0.7546 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/5.492, allocations: 21.7 kB / 0.7546 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/5.493, allocations: 7.984 kB / 0.7546 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/5.493, allocations: 63.41 kB / 0.7547 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.757e-06/5.493, allocations: 0 / 0.7547 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004384/5.493, allocations: 81.58 kB / 0.7548 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/5.493, allocations: 51.41 kB / 0.7548 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/5.494, allocations: 112.9 kB / 0.7549 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/5.494, allocations: 29.7 kB / 0.755 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/5.494, allocations: 80.41 kB / 0.755 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/5.494, allocations: 27.72 kB / 0.7551 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/5.494, allocations: 0 / 0.7551 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001962/5.494, allocations: 322.8 kB / 0.7554 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/5.494, allocations: 19.98 kB / 0.7554 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/5.494, allocations: 34.58 kB / 0.7554 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/5.494, allocations: 24.06 kB / 0.7554 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/5.494, allocations: 0 / 0.7554 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004171/5.495, allocations: 93.55 kB / 0.7555 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/5.495, allocations: 7.984 kB / 0.7555 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/5.495, allocations: 0 / 0.7555 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/5.495, allocations: 4 kB / 0.7555 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/5.495, allocations: 12 kB / 0.7556 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/5.495, allocations: 4 kB / 0.7556 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/5.495, allocations: 11.92 kB / 0.7556 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/5.496, allocations: 4 kB / 0.7556 GB, free: 7.039 MB / 0.6355 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 0.0001419/5.496, allocations: 112.9 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/5.496, allocations: 7.906 kB / 0.7557 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/5.496, allocations: 16.36 kB / 0.7557 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/5.496, allocations: 4 kB / 0.7557 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/5.496, allocations: 0 / 0.7557 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/5.496, allocations: 0 / 0.7557 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/5.497, allocations: 319 kB / 0.756 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/5.497, allocations: 0 / 0.756 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/5.497, allocations: 11.94 kB / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/5.497, allocations: 0 / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/5.497, allocations: 3.984 kB / 0.756 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/5.497, allocations: 0 / 0.756 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.497, allocations: 3.938 kB / 0.756 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003887/5.497, allocations: 179.4 kB / 0.7562 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005781/5.498, allocations: 0.5505 MB / 0.7567 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/5.498, allocations: 81.02 kB / 0.7568 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/5.498, allocations: 8 kB / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/5.498, allocations: 9.5 kB / 0.7568 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/5.498, allocations: 3.984 kB / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/5.498, allocations: 4 kB / 0.7568 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.503e-05/5.499, allocations: 95.27 kB / 0.7569 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002234/5.501, allocations: 44 kB / 0.757 GB, free: 5.5 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.0006786/5.502, allocations: 179.4 kB / 0.7572 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003376/5.502, allocations: 52.31 kB / 0.7572 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/5.502, allocations: 4.062 kB / 0.7572 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/5.502, allocations: 27.98 kB / 0.7572 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/5.502, allocations: 7.406 kB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/5.503, allocations: 103.6 kB / 0.7573 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/5.504, allocations: 0.7113 MB / 0.758 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/5.504, allocations: 0 / 0.758 GB, free: 4.367 MB / 0.6355 GB