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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.285/4.285, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5806/4.865, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/5.111, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2634/5.375, allocations: 125.7 MB / 0.751 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/5.375, allocations: 83.59 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.01632/5.391, allocations: 3.009 MB / 0.754 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.148e-05/5.392, allocations: 12 kB / 0.754 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/5.392, allocations: 7.906 kB / 0.7541 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/5.392, allocations: 166.9 kB / 0.7542 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/5.392, allocations: 12 kB / 0.7542 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/5.392, allocations: 7.984 kB / 0.7542 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001221/5.392, allocations: 20 kB / 0.7542 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/5.392, allocations: 57.61 kB / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/5.392, allocations: 3.906 kB / 0.7543 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/5.392, allocations: 0 / 0.7543 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/5.392, allocations: 4 kB / 0.7543 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/5.393, allocations: 277.3 kB / 0.7546 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/5.393, allocations: 34.58 kB / 0.7546 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/5.393, allocations: 29.69 kB / 0.7546 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/5.393, allocations: 0 / 0.7546 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/5.393, allocations: 75.39 kB / 0.7547 GB, free: 8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/5.393, allocations: 4 kB / 0.7547 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003103/5.394, allocations: 73.59 kB / 0.7548 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/5.394, allocations: 55.41 kB / 0.7548 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/5.394, allocations: 112.9 kB / 0.7549 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/5.394, allocations: 25.7 kB / 0.755 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/5.394, allocations: 84.31 kB / 0.755 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/5.394, allocations: 15.81 kB / 0.7551 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-06/5.394, allocations: 0 / 0.7551 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001269/5.394, allocations: 330.7 kB / 0.7554 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/5.394, allocations: 12 kB / 0.7554 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/5.394, allocations: 34.58 kB / 0.7554 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/5.394, allocations: 27.92 kB / 0.7554 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/5.395, allocations: 0 / 0.7554 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002889/5.395, allocations: 89.56 kB / 0.7555 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/5.395, allocations: 12.06 kB / 0.7555 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/5.395, allocations: 3.938 kB / 0.7555 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/5.395, allocations: 0 / 0.7555 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/5.395, allocations: 15.98 kB / 0.7556 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/5.395, allocations: 4 kB / 0.7556 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/5.395, allocations: 7.938 kB / 0.7556 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/5.395, allocations: 4 kB / 0.7556 GB, free: 7.043 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.0001056/5.395, allocations: 116.9 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/5.395, allocations: 3.906 kB / 0.7557 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/5.395, allocations: 16.36 kB / 0.7557 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/5.395, allocations: 0 / 0.7557 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/5.395, allocations: 0 / 0.7557 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/5.395, allocations: 11.86 kB / 0.7557 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/5.396, allocations: 319.2 kB / 0.756 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/5.396, allocations: 0 / 0.756 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/5.396, allocations: 8 kB / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/5.396, allocations: 3.984 kB / 0.756 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/5.396, allocations: 0 / 0.756 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/5.396, allocations: 4 kB / 0.756 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/5.396, allocations: 3.938 kB / 0.756 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002671/5.396, allocations: 179.4 kB / 0.7562 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004046/5.397, allocations: 0.5466 MB / 0.7568 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/5.397, allocations: 89.02 kB / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/5.397, allocations: 0 / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/5.397, allocations: 13.55 kB / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/5.397, allocations: 0 / 0.7568 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/5.397, allocations: 7.984 kB / 0.7569 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.23e-05/5.397, allocations: 87.94 kB / 0.7569 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001338/5.399, allocations: 51.98 kB / 0.757 GB, free: 5.496 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.000598/5.399, allocations: 175.5 kB / 0.7572 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000229/5.399, allocations: 47.94 kB / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/5.4, allocations: 128 / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/5.4, allocations: 39.91 kB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/5.4, allocations: 8 kB / 0.7572 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/5.4, allocations: 103.6 kB / 0.7573 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/5.401, allocations: 0.7036 MB / 0.758 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/5.401, allocations: 0 / 0.758 GB, free: 4.367 MB / 0.6355 GB