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.Ren2014ACLivingroom.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.245/4.245, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5625/4.807, allocations: 104.3 MB / 0.5319 GB, free: 12.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/5.032, allocations: 98.72 MB / 0.6283 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/5.315, allocations: 125.8 MB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/5.316, allocations: 83.59 kB / 0.7512 GB, free: 11.7 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.01772/5.334, allocations: 3.538 MB / 0.7547 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/5.334, allocations: 8 kB / 0.7547 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/5.334, allocations: 7.906 kB / 0.7547 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/5.334, allocations: 178.9 kB / 0.7548 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/5.334, allocations: 3.984 kB / 0.7549 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/5.334, allocations: 4 kB / 0.7549 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001511/5.334, allocations: 28 kB / 0.7549 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/5.334, allocations: 65.66 kB / 0.7549 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/5.334, allocations: 7.938 kB / 0.755 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/5.334, allocations: 0 / 0.755 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/5.334, allocations: 0 / 0.755 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/5.335, allocations: 301.2 kB / 0.7552 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/5.335, allocations: 66.56 kB / 0.7553 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/5.335, allocations: 29.58 kB / 0.7553 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/5.336, allocations: 4 kB / 0.7553 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/5.336, allocations: 75.3 kB / 0.7554 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 4.709e-06/5.336, allocations: 4.031 kB / 0.7554 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005659/5.336, allocations: 113.5 kB / 0.7555 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/5.336, allocations: 63.55 kB / 0.7556 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/5.337, allocations: 117.2 kB / 0.7557 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/5.337, allocations: 29.7 kB / 0.7557 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/5.337, allocations: 84.12 kB / 0.7558 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/5.337, allocations: 19.75 kB / 0.7558 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/5.337, allocations: 0 / 0.7558 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001515/5.337, allocations: 326.7 kB / 0.7561 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/5.337, allocations: 12 kB / 0.7561 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/5.337, allocations: 66 kB / 0.7562 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.58e-05/5.337, allocations: 19.94 kB / 0.7562 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/5.337, allocations: 4 kB / 0.7562 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002537/5.337, allocations: 101.5 kB / 0.7563 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/5.337, allocations: 6.812 kB / 0.7563 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/5.337, allocations: 0 / 0.7563 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/5.338, allocations: 8 kB / 0.7563 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/5.338, allocations: 15.98 kB / 0.7564 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/5.338, allocations: 0 / 0.7564 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/5.338, allocations: 20.08 kB / 0.7564 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/5.338, allocations: 4 kB / 0.7564 GB, free: 6.148 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.0001099/5.338, allocations: 112.9 kB / 0.7565 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/5.338, allocations: 7.906 kB / 0.7565 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/5.338, allocations: 4.5 kB / 0.7565 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/5.338, allocations: 4 kB / 0.7565 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/5.338, allocations: 3.906 kB / 0.7565 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/5.338, allocations: 3.984 kB / 0.7565 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/5.339, allocations: 371 kB / 0.7569 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/5.339, allocations: 0 / 0.7569 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/5.339, allocations: 11.91 kB / 0.7569 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/5.339, allocations: 0 / 0.7569 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/5.339, allocations: 3.984 kB / 0.7569 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/5.339, allocations: 0 / 0.7569 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/5.339, allocations: 0 / 0.7569 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004968/5.34, allocations: 211.4 kB / 0.7571 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006788/5.34, allocations: 0.5832 MB / 0.7576 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/5.34, allocations: 88.95 kB / 0.7577 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/5.34, allocations: 0 / 0.7577 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/5.341, allocations: 15.98 kB / 0.7577 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/5.341, allocations: 11.98 kB / 0.7578 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/5.341, allocations: 0 / 0.7578 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.425e-05/5.341, allocations: 95.27 kB / 0.7579 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001334/5.342, allocations: 71.91 kB / 0.7579 GB, free: 4.469 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.0005462/5.343, allocations: 190.3 kB / 0.7581 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002511/5.343, allocations: 63.92 kB / 0.7582 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.343, allocations: 0 / 0.7582 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/5.343, allocations: 31.94 kB / 0.7582 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/5.343, allocations: 15.89 kB / 0.7582 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/5.344, allocations: 119.8 kB / 0.7583 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/5.344, allocations: 0.7075 MB / 0.759 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of SimCode: time 1.123e-06/5.344, allocations: 0 / 0.759 GB, free: 3.293 MB / 0.6355 GB