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.TrueHoldWithReset.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.TrueHoldWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TrueHoldWithReset",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.45/4.45, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5334/4.983, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/5.222, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/5.514, allocations: 125.5 MB / 0.7509 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004137/5.514, allocations: 75.59 kB / 0.751 GB, free: 12.02 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.08461/5.599, allocations: 13.95 MB / 0.7646 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/5.599, allocations: 12 kB / 0.7646 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006035/5.6, allocations: 102.9 kB / 0.7647 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/5.601, allocations: 0.5143 MB / 0.7652 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/5.602, allocations: 47.98 kB / 0.7652 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/5.602, allocations: 75.98 kB / 0.7653 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003324/5.605, allocations: 0.6482 MB / 0.7659 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/5.609, allocations: 1.011 MB / 0.7669 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/5.609, allocations: 11.92 kB / 0.7669 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/5.61, allocations: 7.984 kB / 0.767 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/5.61, allocations: 31.91 kB / 0.767 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009864/5.62, allocations: 4.698 MB / 0.7716 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/5.622, allocations: 0.5852 MB / 0.7721 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/5.623, allocations: 316 kB / 0.7724 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/5.623, allocations: 13.36 kB / 0.7725 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/5.625, allocations: 467.8 kB / 0.7729 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=92): time 5.009e-06/5.625, allocations: 0 / 0.7729 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92): time 0.002679/5.628, allocations: 0.5921 MB / 0.7735 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/5.628, allocations: 144.5 kB / 0.7736 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/5.629, allocations: 407.9 kB / 0.774 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002608/5.629, allocations: 53.7 kB / 0.7741 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/5.63, allocations: 360 kB / 0.7744 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/5.63, allocations: 201.4 kB / 0.7746 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/5.63, allocations: 0 / 0.7746 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002809/5.631, allocations: 378.8 kB / 0.775 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/5.632, allocations: 252 kB / 0.7752 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/5.633, allocations: 0.6742 MB / 0.7759 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/5.635, allocations: 308.1 kB / 0.7761 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/5.635, allocations: 8 kB / 0.7762 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003412/5.638, allocations: 0.8959 MB / 0.777 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/5.638, allocations: 4 kB / 0.777 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/5.638, allocations: 16 kB / 0.7771 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.888e-05/5.638, allocations: 28.69 kB / 0.7771 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/5.639, allocations: 159.5 kB / 0.7772 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.642e-05/5.639, allocations: 31.92 kB / 0.7773 GB, free: 336 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/5.641, allocations: 95.33 kB / 0.7774 GB, free: 240 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/5.641, allocations: 60 kB / 0.7774 GB, free: 180 kB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 132 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$whenCondition14,$PRE.truHol.onDelay.t_next,$whenCondition13,$whenCondition15,$whenCondition16,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.u,truHol.onDelay.y,$PRE.truHol.initialStep.localActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.oldActive,truHol.initialStep.active,$PRE.truHol.outputTrue.localActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.oldActive,truHol.outputTrue.active,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire,truHol.onDelay.t_next,$whenCondition10,$PRE.truHol1.onDelay.t_next,$whenCondition9,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.u,truHol1.onDelay.y,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.oldActive,truHol1.initialStep.active,$PRE.truHol1.outputTrue.localActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.oldActive,truHol1.outputTrue.active,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol1.onDelay.t_next,$whenCondition6,$PRE.truHol2.onDelay.t_next,$whenCondition5,$whenCondition7,$whenCondition8,$PRE.booPul2.pulseStart,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.u,truHol2.onDelay.y,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.oldActive,truHol2.initialStep.active,$PRE.truHol2.outputTrue.localActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.oldActive,truHol2.outputTrue.active,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol2.onDelay.t_next,$whenCondition2,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition3,$whenCondition4,$PRE.booPul3.pulseStart,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.u,truHol3.onDelay.y,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.oldActive,truHol3.initialStep.active,$PRE.truHol3.outputTrue.localActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.oldActive,truHol3.outputTrue.active,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol3.onDelay.t_next,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.2977/5.939, allocations: 216.1 kB / 0.7776 GB, free: 221.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/5.939, allocations: 65.69 kB / 0.7777 GB, free: 221.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/5.941, allocations: 0.6794 MB / 0.7783 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/5.941, allocations: 8.219 kB / 0.7783 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/5.941, allocations: 3.969 kB / 0.7784 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/5.941, allocations: 3 kB / 0.7784 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/5.946, allocations: 2.017 MB / 0.7803 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/5.946, allocations: 3.719 kB / 0.7803 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/5.946, allocations: 55.73 kB / 0.7804 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/5.946, allocations: 6.438 kB / 0.7804 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/5.946, allocations: 11.12 kB / 0.7804 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/5.946, allocations: 7.406 kB / 0.7804 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/5.946, allocations: 3.703 kB / 0.7804 GB, free: 220.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/5.948, allocations: 0.9903 MB / 0.7814 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002756/5.951, allocations: 1.363 MB / 0.7827 GB, free: 219.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/5.951, allocations: 128.5 kB / 0.7828 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/5.952, allocations: 21.14 kB / 0.7829 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/5.953, allocations: 48.52 kB / 0.7829 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/5.953, allocations: 98.7 kB / 0.783 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/5.953, allocations: 42.28 kB / 0.783 GB, free: 219 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003443/5.954, allocations: 220.7 kB / 0.7832 GB, free: 218.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002224/5.956, allocations: 162 kB / 0.7834 GB, free: 218.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 88 (truHol3.onDelay.u,truHol3.outputTrue.localActive,truHol3.outputTrue.active,truHol3.initialStep.active,$cse7,$cse8,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.y,truHol3.onDelay.t_next,truHol3.initialStep.localActive,truHol3.initialStep.newActive,truHol3.initialStep.oldActive,truHol3.outputTrue.newActive,truHol3.outputTrue.oldActive,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol2.onDelay.u,truHol2.outputTrue.localActive,truHol2.outputTrue.active,truHol2.initialStep.active,$cse5,$cse6,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.y,truHol2.onDelay.t_next,truHol2.initialStep.localActive,truHol2.initialStep.newActive,truHol2.initialStep.oldActive,truHol2.outputTrue.newActive,truHol2.outputTrue.oldActive,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol1.onDelay.u,truHol1.outputTrue.localActive,truHol1.outputTrue.active,truHol1.initialStep.active,$cse3,$cse4,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,booPul1.y,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.y,truHol1.onDelay.t_next,truHol1.initialStep.localActive,truHol1.initialStep.newActive,truHol1.initialStep.oldActive,truHol1.outputTrue.newActive,truHol1.outputTrue.oldActive,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol.onDelay.u,truHol.outputTrue.localActive,truHol.outputTrue.active,truHol.initialStep.active,$cse1,$cse2,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,booPul.y,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.y,truHol.onDelay.t_next,truHol.initialStep.localActive,truHol.initialStep.newActive,truHol.initialStep.oldActive,truHol.outputTrue.newActive,truHol.outputTrue.oldActive,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire) * Number of discrete states: 12 (truHol.onDelay.t_next,truHol.initialStep.newActive,truHol.outputTrue.newActive,truHol1.onDelay.t_next,truHol1.initialStep.newActive,truHol1.outputTrue.newActive,truHol2.onDelay.t_next,truHol2.initialStep.newActive,truHol2.outputTrue.newActive,truHol3.onDelay.t_next,truHol3.initialStep.newActive,truHol3.outputTrue.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0004072/5.956, allocations: 179.4 kB / 0.7836 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00196/5.958, allocations: 0.7538 MB / 0.7843 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/5.958, allocations: 0 / 0.7843 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/5.96, allocations: 396.8 kB / 0.7847 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/5.961, allocations: 85.98 kB / 0.7848 GB, free: 218.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/5.965, allocations: 1.011 MB / 0.7858 GB, free: 218.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/5.966, allocations: 1.065 MB / 0.7868 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/5.966, allocations: 0 / 0.7868 GB, free: 217.8 MB / 0.6511 GB