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.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.255/4.255, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5624/4.817, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/5.059, allocations: 98.71 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/5.308, allocations: 125.7 MB / 0.751 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/5.308, 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.01648/5.325, allocations: 3.001 MB / 0.754 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/5.325, allocations: 12 kB / 0.754 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/5.325, allocations: 11.91 kB / 0.754 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/5.325, allocations: 178.8 kB / 0.7542 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/5.325, allocations: 4 kB / 0.7542 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/5.325, allocations: 4 kB / 0.7542 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001441/5.325, allocations: 20 kB / 0.7542 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/5.325, allocations: 57.61 kB / 0.7543 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/5.325, allocations: 7.844 kB / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/5.325, allocations: 0 / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/5.325, allocations: 4 kB / 0.7543 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/5.326, allocations: 277.3 kB / 0.7546 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/5.326, allocations: 38.56 kB / 0.7546 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/5.326, allocations: 25.7 kB / 0.7546 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/5.326, allocations: 4.062 kB / 0.7546 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/5.326, allocations: 75.31 kB / 0.7547 GB, free: 8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.235e-06/5.326, allocations: 0 / 0.7547 GB, free: 8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003098/5.327, allocations: 77.58 kB / 0.7548 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/5.327, allocations: 59.41 kB / 0.7548 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/5.327, allocations: 108.9 kB / 0.7549 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/5.327, allocations: 25.7 kB / 0.755 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/5.327, allocations: 84.33 kB / 0.755 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/5.327, allocations: 19.81 kB / 0.7551 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-06/5.327, allocations: 0 / 0.7551 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001349/5.327, allocations: 322.7 kB / 0.7554 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/5.327, allocations: 16 kB / 0.7554 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.546e-05/5.327, allocations: 38.56 kB / 0.7554 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/5.327, allocations: 23.94 kB / 0.7554 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/5.327, allocations: 0 / 0.7554 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002734/5.328, allocations: 93.56 kB / 0.7555 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/5.328, allocations: 10.97 kB / 0.7555 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/5.328, allocations: 0 / 0.7555 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/5.328, allocations: 0 / 0.7555 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/5.328, allocations: 19.92 kB / 0.7556 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/5.328, allocations: 0 / 0.7556 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/5.328, allocations: 7.938 kB / 0.7556 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/5.328, allocations: 8.062 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.0001103/5.328, allocations: 116.9 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/5.328, allocations: 3.906 kB / 0.7557 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/5.328, allocations: 8.375 kB / 0.7557 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/5.328, allocations: 4 kB / 0.7557 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/5.328, allocations: 0 / 0.7557 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/5.328, allocations: 0 / 0.7557 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/5.329, allocations: 331.1 kB / 0.756 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/5.329, allocations: 0 / 0.756 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/5.329, allocations: 7.984 kB / 0.756 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/5.329, allocations: 0 / 0.756 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/5.329, allocations: 4 kB / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/5.329, allocations: 0 / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/5.329, allocations: 0 / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002856/5.33, allocations: 187.2 kB / 0.7562 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000439/5.33, allocations: 0.5466 MB / 0.7567 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/5.33, allocations: 85.02 kB / 0.7568 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/5.33, allocations: 3.984 kB / 0.7568 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/5.33, allocations: 5.562 kB / 0.7568 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/5.33, allocations: 7.984 kB / 0.7568 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/5.33, allocations: 8 kB / 0.7569 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.74e-05/5.33, allocations: 87.28 kB / 0.7569 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001291/5.332, allocations: 47.98 kB / 0.757 GB, free: 5.504 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.0005789/5.332, allocations: 172.9 kB / 0.7571 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002575/5.333, allocations: 59.97 kB / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/5.333, allocations: 0 / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/5.333, allocations: 27.94 kB / 0.7572 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/5.333, allocations: 4 kB / 0.7572 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/5.334, allocations: 103.6 kB / 0.7573 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/5.334, allocations: 0.7113 MB / 0.758 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/5.334, allocations: 4.125 kB / 0.758 GB, free: 4.371 MB / 0.6355 GB