Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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 3.981/3.981, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5141/4.496, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/4.729, allocations: 98.71 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2418/4.97, allocations: 123.9 MB / 0.7493 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004715/4.971, allocations: 75.59 kB / 0.7493 GB, free: 13.67 MB / 0.6355 GB 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.007167/4.978, allocations: 1.038 MB / 0.7504 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/4.978, allocations: 8 kB / 0.7504 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/4.978, allocations: 7.906 kB / 0.7504 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/4.979, allocations: 178.9 kB / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/4.979, allocations: 0 / 0.7505 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/4.979, allocations: 4 kB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001479/4.979, allocations: 16 kB / 0.7506 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/4.979, allocations: 53.67 kB / 0.7506 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/4.979, allocations: 4 kB / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/4.979, allocations: 0 / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/4.979, allocations: 0 / 0.7506 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008216/4.98, allocations: 281.2 kB / 0.7509 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/4.98, allocations: 42.62 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/4.98, allocations: 20.89 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/4.98, allocations: 0 / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/4.981, allocations: 63.47 kB / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.896e-06/4.981, allocations: 0 / 0.751 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002418/4.981, allocations: 73.53 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/4.981, allocations: 55.41 kB / 0.7511 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/4.981, allocations: 105.2 kB / 0.7512 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/4.981, allocations: 25.7 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/4.981, allocations: 88.14 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/4.981, allocations: 15.8 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/4.981, allocations: 4 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001152/4.981, allocations: 310.8 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/4.981, allocations: 20 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/4.982, allocations: 43.8 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/4.982, allocations: 23.97 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/4.982, allocations: 0 / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/4.982, allocations: 81.47 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/4.982, allocations: 8.094 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/4.982, allocations: 0 / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/4.982, allocations: 4 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/4.982, allocations: 19.98 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/4.982, allocations: 0 / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/4.982, allocations: 19.98 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/4.982, allocations: 7.984 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.00012/4.982, allocations: 114.1 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/4.982, allocations: 3.906 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/4.983, allocations: 12.38 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/4.983, allocations: 0 / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/4.983, allocations: 3.906 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/4.983, allocations: 4 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/4.983, allocations: 299.1 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/4.983, allocations: 4 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/4.983, allocations: 19.95 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/4.983, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/4.983, allocations: 0 / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/4.983, allocations: 7.938 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/4.983, allocations: 0 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000197/4.983, allocations: 159.5 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003168/4.984, allocations: 0.5311 MB / 0.753 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/4.984, allocations: 85 kB / 0.7531 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/4.984, allocations: 8 kB / 0.7531 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/4.984, allocations: 15.98 kB / 0.7531 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/4.984, allocations: 3.984 kB / 0.7531 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/4.984, allocations: 4 kB / 0.7531 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.127e-05/4.984, allocations: 99.22 kB / 0.7532 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001421/4.986, allocations: 11.91 kB / 0.7532 GB, free: 9.379 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 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002478/4.986, allocations: 103.2 kB / 0.7533 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002965/4.986, allocations: 43.94 kB / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/4.986, allocations: 0 / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/4.987, allocations: 20.28 kB / 0.7534 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/4.987, allocations: 26.86 kB / 0.7534 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/4.987, allocations: 96.03 kB / 0.7535 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/4.988, allocations: 0.6997 MB / 0.7542 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.262e-06/4.988, allocations: 0 / 0.7542 GB, free: 8.34 MB / 0.6355 GB