Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.401/2.401, allocations: 253.1 MB / 260.4 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 185.2 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 93.47 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.175e-05/1.195e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2603, allocations: 106.3 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7218/0.9821, allocations: 133.5 MB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.9825, allocations: 81.31 kB / 1.019 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05658/1.039, allocations: 13.13 MB / 1.031 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.702e-05/1.039, allocations: 24.59 kB / 1.031 GB, free: 10.14 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003841/1.043, allocations: 1.007 MB / 1.032 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.043, allocations: 8.031 kB / 1.032 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/1.044, allocations: 109.2 kB / 1.032 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.045, allocations: 0.5208 MB / 1.033 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.046, allocations: 51.3 kB / 1.033 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/1.046, allocations: 75.98 kB / 1.033 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002558/1.048, allocations: 0.6243 MB / 1.034 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/1.052, allocations: 1.035 MB / 1.035 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/1.052, allocations: 0 / 1.035 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/1.052, allocations: 11.98 kB / 1.035 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/1.052, allocations: 24 kB / 1.035 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008604/1.061, allocations: 4.764 MB / 1.039 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/1.063, allocations: 0.5894 MB / 1.04 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009526/1.064, allocations: 317.8 kB / 1.04 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.188e-05/1.064, allocations: 13.36 kB / 1.04 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/1.065, allocations: 457.6 kB / 1.041 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=92): time 4.228e-06/1.065, allocations: 0 / 1.041 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92): time 0.002047/1.067, allocations: 0.5922 MB / 1.041 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.067, allocations: 152.2 kB / 1.041 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/1.068, allocations: 399.1 kB / 1.042 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002829/1.068, allocations: 57.38 kB / 1.042 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/1.069, allocations: 377.7 kB / 1.042 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/1.069, allocations: 200.1 kB / 1.042 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/1.069, allocations: 0 / 1.042 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002412/1.07, allocations: 380.1 kB / 1.043 GB, free: 184 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/1.07, allocations: 249.4 kB / 1.043 GB, free: 36 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/1.072, allocations: 0.6775 MB / 1.044 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/1.073, allocations: 310.3 kB / 1.044 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/1.073, allocations: 8 kB / 1.044 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003001/1.076, allocations: 0.8958 MB / 1.045 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.076, allocations: 10.19 kB / 1.045 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.793e-05/1.076, allocations: 12 kB / 1.045 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.104e-05/1.076, allocations: 24.72 kB / 1.045 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.077, allocations: 162 kB / 1.045 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.235e-05/1.077, allocations: 35.88 kB / 1.045 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.078, allocations: 87.39 kB / 1.045 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.079, allocations: 70.05 kB / 1.045 GB, free: 13.98 MB / 0.6667 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.000511/1.079, allocations: 217.2 kB / 1.046 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/1.079, allocations: 66.38 kB / 1.046 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/1.082, allocations: 0.6777 MB / 1.046 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/1.082, allocations: 12 kB / 1.046 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.082, allocations: 0 / 1.046 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/1.082, allocations: 7.984 kB / 1.046 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/1.087, allocations: 2.024 MB / 1.048 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.087, allocations: 0 / 1.048 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/1.088, allocations: 51.72 kB / 1.048 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.152e-05/1.088, allocations: 4 kB / 1.048 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.088, allocations: 15.53 kB / 1.048 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/1.088, allocations: 15.84 kB / 1.048 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.088, allocations: 7.984 kB / 1.048 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002185/1.09, allocations: 0.9768 MB / 1.049 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/1.09, allocations: 140.2 kB / 1.049 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.091, allocations: 14.8 kB / 1.049 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009349/1.092, allocations: 43.95 kB / 1.049 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004068/1.092, allocations: 101 kB / 1.05 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.092, allocations: 41.41 kB / 1.05 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004591/1.093, allocations: 222.2 kB / 1.05 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00171/1.094, allocations: 159.8 kB / 1.05 GB, free: 9.922 MB / 0.6667 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.0005303/1.095, allocations: 173.9 kB / 1.05 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002533/1.098, allocations: 0.7516 MB / 1.051 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.098, allocations: 0 / 1.051 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.099, allocations: 397.2 kB / 1.051 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/1.1, allocations: 84.06 kB / 1.051 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/1.105, allocations: 1.026 MB / 1.052 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/1.106, allocations: 1.07 MB / 1.053 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of SimCode: time 1.813e-06/1.106, allocations: 0 / 1.053 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of Templates: time 0.03655/1.143, allocations: 8.835 MB / 1.062 GB, free: 14.14 MB / 0.6823 GB