Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.227/4.227, allocations: 433 MB / 440.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5764/4.804, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/5.063, allocations: 98.71 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2455/5.309, allocations: 125.8 MB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/5.309, allocations: 83.58 kB / 0.7512 GB, free: 11.71 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.01904/5.328, allocations: 3.539 MB / 0.7547 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/5.328, allocations: 8 kB / 0.7547 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/5.328, allocations: 7.906 kB / 0.7547 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/5.329, allocations: 186.8 kB / 0.7548 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/5.329, allocations: 4 kB / 0.7549 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/5.329, allocations: 4 kB / 0.7549 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/5.329, allocations: 28 kB / 0.7549 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/5.329, allocations: 69.66 kB / 0.755 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/5.329, allocations: 0 / 0.755 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/5.329, allocations: 0 / 0.755 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/5.329, allocations: 0 / 0.755 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/5.33, allocations: 301.2 kB / 0.7552 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/5.33, allocations: 66.56 kB / 0.7553 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/5.33, allocations: 29.58 kB / 0.7553 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/5.33, allocations: 0 / 0.7553 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/5.33, allocations: 83.44 kB / 0.7554 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/5.33, allocations: 3.938 kB / 0.7554 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0006083/5.331, allocations: 113.6 kB / 0.7555 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/5.331, allocations: 55.41 kB / 0.7556 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/5.331, allocations: 121.2 kB / 0.7557 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/5.331, allocations: 25.7 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/5.331, allocations: 88.12 kB / 0.7558 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/5.331, allocations: 15.75 kB / 0.7558 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/5.331, allocations: 4 kB / 0.7558 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000136/5.332, allocations: 326.7 kB / 0.7561 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.009e-05/5.332, allocations: 16 kB / 0.7561 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/5.332, allocations: 62 kB / 0.7562 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.323e-05/5.332, allocations: 23.94 kB / 0.7562 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/5.332, allocations: 0 / 0.7562 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000261/5.332, allocations: 93.52 kB / 0.7563 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/5.332, allocations: 4 kB / 0.7563 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/5.332, allocations: 7.984 kB / 0.7563 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/5.332, allocations: 48 / 0.7563 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/5.332, allocations: 24.11 kB / 0.7563 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/5.333, allocations: 4 kB / 0.7564 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/5.333, allocations: 15.83 kB / 0.7564 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/5.333, allocations: 8 kB / 0.7564 GB, free: 6.164 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.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.0001187/5.333, allocations: 108.9 kB / 0.7565 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/5.333, allocations: 7.906 kB / 0.7565 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/5.333, allocations: 16.5 kB / 0.7565 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/5.333, allocations: 3.984 kB / 0.7565 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/5.333, allocations: 3.906 kB / 0.7565 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/5.333, allocations: 0 / 0.7565 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/5.334, allocations: 363.1 kB / 0.7569 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/5.334, allocations: 0 / 0.7569 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/5.334, allocations: 11.84 kB / 0.7569 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/5.334, allocations: 0 / 0.7569 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/5.334, allocations: 7.984 kB / 0.7569 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/5.334, allocations: 4 kB / 0.7569 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.334, allocations: 0 / 0.7569 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005137/5.335, allocations: 203.5 kB / 0.7571 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006408/5.335, allocations: 0.5794 MB / 0.7576 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/5.335, allocations: 92.95 kB / 0.7577 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/5.335, allocations: 7.922 kB / 0.7577 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/5.336, allocations: 12 kB / 0.7577 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/5.336, allocations: 7.984 kB / 0.7578 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/5.336, allocations: 4 kB / 0.7578 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.628e-05/5.336, allocations: 91.27 kB / 0.7578 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001425/5.337, allocations: 71.92 kB / 0.7579 GB, free: 4.488 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 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.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.000678/5.338, allocations: 187.6 kB / 0.7581 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003331/5.338, allocations: 63.91 kB / 0.7582 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/5.338, allocations: 384 / 0.7582 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/5.338, allocations: 43.94 kB / 0.7582 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/5.339, allocations: 11.16 kB / 0.7582 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/5.339, allocations: 115.5 kB / 0.7583 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/5.34, allocations: 0.7036 MB / 0.759 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/5.34, allocations: 0 / 0.759 GB, free: 3.316 MB / 0.6355 GB