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.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.616/4.616, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5574/5.173, allocations: 104.3 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/5.415, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/5.681, allocations: 125.7 MB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/5.681, allocations: 87.58 kB / 0.7511 GB, free: 11.84 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.01887/5.7, allocations: 2.997 MB / 0.754 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.991e-05/5.7, allocations: 12 kB / 0.754 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/5.7, allocations: 3.906 kB / 0.754 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/5.701, allocations: 178.9 kB / 0.7542 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/5.701, allocations: 11.94 kB / 0.7542 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/5.701, allocations: 4 kB / 0.7542 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002187/5.701, allocations: 20 kB / 0.7542 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/5.701, allocations: 61.61 kB / 0.7543 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/5.701, allocations: 3.906 kB / 0.7543 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/5.701, allocations: 0 / 0.7543 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/5.701, allocations: 4 kB / 0.7543 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/5.702, allocations: 281.3 kB / 0.7546 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/5.702, allocations: 38.58 kB / 0.7546 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/5.702, allocations: 25.7 kB / 0.7546 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/5.702, allocations: 0 / 0.7546 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/5.703, allocations: 67.33 kB / 0.7547 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.397e-06/5.703, allocations: 0 / 0.7547 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005484/5.703, allocations: 77.58 kB / 0.7548 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/5.703, allocations: 63.41 kB / 0.7548 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/5.704, allocations: 108.9 kB / 0.7549 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/5.704, allocations: 25.7 kB / 0.755 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/5.704, allocations: 84.33 kB / 0.755 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/5.704, allocations: 15.81 kB / 0.7551 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/5.704, allocations: 0 / 0.7551 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002028/5.704, allocations: 326.7 kB / 0.7554 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/5.704, allocations: 12 kB / 0.7554 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/5.704, allocations: 42.56 kB / 0.7554 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/5.705, allocations: 28 kB / 0.7555 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/5.705, allocations: 0 / 0.7555 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004719/5.705, allocations: 85.58 kB / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/5.705, allocations: 7.938 kB / 0.7555 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/5.705, allocations: 4 kB / 0.7555 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/5.705, allocations: 0 / 0.7555 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/5.706, allocations: 16.05 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/5.706, allocations: 4 kB / 0.7556 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/5.706, allocations: 7.938 kB / 0.7556 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/5.706, allocations: 11.98 kB / 0.7556 GB, free: 7.012 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.0001562/5.706, allocations: 108.9 kB / 0.7557 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/5.706, allocations: 3.906 kB / 0.7557 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/5.706, allocations: 16.36 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/5.706, allocations: 0 / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/5.706, allocations: 3.938 kB / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/5.706, allocations: 0 / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/5.707, allocations: 323 kB / 0.756 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/5.707, allocations: 0 / 0.756 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/5.707, allocations: 7.984 kB / 0.756 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/5.707, allocations: 3.938 kB / 0.756 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/5.707, allocations: 4 kB / 0.756 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/5.707, allocations: 4 kB / 0.756 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/5.707, allocations: 0 / 0.756 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005118/5.708, allocations: 179.6 kB / 0.7562 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006082/5.709, allocations: 0.5466 MB / 0.7567 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/5.709, allocations: 89 kB / 0.7568 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/5.709, allocations: 4 kB / 0.7568 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/5.709, allocations: 9.562 kB / 0.7568 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/5.709, allocations: 7.984 kB / 0.7568 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/5.709, allocations: 4 kB / 0.7569 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001083/5.709, allocations: 87.28 kB / 0.7569 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003769/5.713, allocations: 47.98 kB / 0.757 GB, free: 5.48 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.0006579/5.714, allocations: 171.8 kB / 0.7571 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002761/5.714, allocations: 55.97 kB / 0.7572 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/5.714, allocations: 0 / 0.7572 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/5.714, allocations: 27.94 kB / 0.7572 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/5.714, allocations: 12.92 kB / 0.7572 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/5.715, allocations: 103.6 kB / 0.7573 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/5.715, allocations: 0.7075 MB / 0.758 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/5.715, allocations: 0 / 0.758 GB, free: 4.352 MB / 0.6355 GB