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.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.244/4.244, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.602/4.846, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/5.092, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2811/5.373, allocations: 124.6 MB / 0.75 GB, free: 13 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000459/5.374, allocations: 79.59 kB / 0.7501 GB, free: 12.92 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.01869/5.392, allocations: 3.495 MB / 0.7535 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/5.393, allocations: 12 kB / 0.7535 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/5.393, allocations: 19.75 kB / 0.7535 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/5.393, allocations: 218.7 kB / 0.7537 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/5.393, allocations: 8 kB / 0.7537 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/5.393, allocations: 8 kB / 0.7537 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001663/5.393, allocations: 35.94 kB / 0.7538 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/5.394, allocations: 125.1 kB / 0.7539 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/5.394, allocations: 3.906 kB / 0.7539 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/5.394, allocations: 0 / 0.7539 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/5.394, allocations: 4 kB / 0.7539 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/5.395, allocations: 0.7125 MB / 0.7546 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/5.395, allocations: 30.58 kB / 0.7546 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/5.395, allocations: 20.86 kB / 0.7546 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/5.395, allocations: 4.875 kB / 0.7547 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/5.396, allocations: 106.7 kB / 0.7548 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 4.638e-06/5.396, allocations: 3.984 kB / 0.7548 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003156/5.396, allocations: 89.42 kB / 0.7548 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/5.396, allocations: 140.6 kB / 0.755 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/5.396, allocations: 146.7 kB / 0.7551 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/5.396, allocations: 25.7 kB / 0.7551 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/5.396, allocations: 115.9 kB / 0.7553 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/5.396, allocations: 27.72 kB / 0.7553 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/5.396, allocations: 0 / 0.7553 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001383/5.397, allocations: 330.8 kB / 0.7556 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/5.397, allocations: 20 kB / 0.7556 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/5.397, allocations: 115.9 kB / 0.7557 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/5.397, allocations: 31.98 kB / 0.7558 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/5.397, allocations: 3.938 kB / 0.7558 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003745/5.397, allocations: 141.2 kB / 0.7559 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/5.397, allocations: 4 kB / 0.7559 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/5.397, allocations: 4 kB / 0.7559 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/5.397, allocations: 4 kB / 0.7559 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/5.398, allocations: 36.33 kB / 0.7559 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/5.398, allocations: 4 kB / 0.7559 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/5.398, allocations: 23.89 kB / 0.756 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/5.398, allocations: 12 kB / 0.756 GB, free: 6.562 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001254/5.398, allocations: 122.2 kB / 0.7561 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/5.398, allocations: 15.81 kB / 0.7561 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/5.398, allocations: 17.41 kB / 0.7561 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/5.398, allocations: 0 / 0.7561 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/5.398, allocations: 4 kB / 0.7561 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/5.398, allocations: 3.984 kB / 0.7561 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009973/5.399, allocations: 462.2 kB / 0.7566 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/5.399, allocations: 7.938 kB / 0.7566 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/5.4, allocations: 15.98 kB / 0.7566 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/5.4, allocations: 7.906 kB / 0.7566 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/5.4, allocations: 0 / 0.7566 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/5.4, allocations: 8 kB / 0.7566 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.4, allocations: 0 / 0.7566 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005264/5.4, allocations: 353.3 kB / 0.7569 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006143/5.401, allocations: 0.7284 MB / 0.7577 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/5.401, allocations: 96.92 kB / 0.7578 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/5.401, allocations: 128 / 0.7578 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/5.401, allocations: 23.92 kB / 0.7578 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/5.401, allocations: 15.97 kB / 0.7578 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/5.401, allocations: 4 kB / 0.7578 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001311/5.402, allocations: 125.2 kB / 0.7579 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001326/5.403, allocations: 27.84 kB / 0.7579 GB, free: 4.391 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002251/5.403, allocations: 107.6 kB / 0.758 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002905/5.404, allocations: 68.44 kB / 0.7581 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/5.404, allocations: 4.25 kB / 0.7581 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/5.404, allocations: 35.94 kB / 0.7581 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/5.404, allocations: 68.27 kB / 0.7582 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/5.405, allocations: 251.7 kB / 0.7585 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/5.406, allocations: 0.7588 MB / 0.7592 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/5.406, allocations: 224 / 0.7592 GB, free: 3.039 MB / 0.6355 GB