Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.274/2.274, allocations: 248.6 MB / 255.9 MB, free: 7.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 185.2 kB / 315.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.1 MB / 0.5658 GB, free: 428 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 87.31 kB / 0.67 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4851/0.4865, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.6987, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7622/1.461, allocations: 133.6 MB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.461, allocations: 75.64 kB / 1.014 GB, free: 6.629 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.0596/1.521, allocations: 14.16 MB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/1.521, allocations: 8 kB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/1.521, allocations: 106.8 kB / 1.028 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.523, allocations: 0.5196 MB / 1.028 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/1.523, allocations: 50.86 kB / 1.028 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/1.523, allocations: 75.98 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002344/1.526, allocations: 0.6226 MB / 1.029 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/1.528, allocations: 1.028 MB / 1.03 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/1.528, allocations: 7.938 kB / 1.03 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/1.529, allocations: 15.17 kB / 1.03 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/1.529, allocations: 24 kB / 1.03 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008147/1.537, allocations: 4.756 MB / 1.035 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/1.539, allocations: 0.587 MB / 1.035 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/1.539, allocations: 316.8 kB / 1.036 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-05/1.539, allocations: 20 kB / 1.036 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/1.541, allocations: 456.4 kB / 1.036 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=92): time 3.306e-06/1.541, allocations: 0 / 1.036 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of matching and sorting (n=92): time 0.001935/1.543, allocations: 0.5915 MB / 1.037 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.543, allocations: 155.5 kB / 1.037 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/1.544, allocations: 398.9 kB / 1.037 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/1.544, allocations: 59.69 kB / 1.037 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/1.544, allocations: 373.3 kB / 1.038 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/1.544, allocations: 191.9 kB / 1.038 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/1.545, allocations: 4 kB / 1.038 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002272/1.545, allocations: 380.6 kB / 1.038 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/1.546, allocations: 249.7 kB / 1.039 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.547, allocations: 0.6734 MB / 1.039 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/1.548, allocations: 313.6 kB / 1.039 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.548, allocations: 4 kB / 1.039 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002754/1.551, allocations: 0.8947 MB / 1.04 GB, free: 120 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.551, allocations: 8 kB / 1.04 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/1.551, allocations: 12 kB / 1.04 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.418e-05/1.551, allocations: 24 kB / 1.04 GB, free: 76 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/1.552, allocations: 158.5 kB / 1.041 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-05/1.552, allocations: 35.86 kB / 1.041 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.553, allocations: 95.86 kB / 1.041 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/1.553, allocations: 62.31 kB / 1.041 GB, free: 15.75 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.000481/1.554, allocations: 217.9 kB / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/1.554, allocations: 67.19 kB / 1.041 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/1.556, allocations: 0.676 MB / 1.042 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.556, allocations: 12 kB / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.556, allocations: 0 / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/1.556, allocations: 7.984 kB / 1.042 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/1.561, allocations: 2.025 MB / 1.044 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.561, allocations: 4 kB / 1.044 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/1.561, allocations: 55.53 kB / 1.044 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/1.561, allocations: 4 kB / 1.044 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.354e-05/1.562, allocations: 15.22 kB / 1.044 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/1.562, allocations: 15.89 kB / 1.044 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.562, allocations: 0 / 1.044 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002084/1.564, allocations: 0.9885 MB / 1.045 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002344/1.566, allocations: 1.357 MB / 1.046 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/1.566, allocations: 135.5 kB / 1.046 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/1.567, allocations: 19.22 kB / 1.046 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008629/1.567, allocations: 55.89 kB / 1.046 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.568, allocations: 96.52 kB / 1.046 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.568, allocations: 46.73 kB / 1.046 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003943/1.568, allocations: 222.5 kB / 1.047 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002341/1.571, allocations: 155.8 kB / 1.047 GB, free: 10.44 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.0004416/1.571, allocations: 176.8 kB / 1.047 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00239/1.574, allocations: 0.7487 MB / 1.048 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.574, allocations: 1.438 kB / 1.048 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/1.575, allocations: 395 kB / 1.048 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.576, allocations: 88.42 kB / 1.048 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/1.58, allocations: 1.03 MB / 1.049 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.581, allocations: 1.068 MB / 1.05 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of SimCode: time 1.583e-06/1.581, allocations: 0 / 1.05 GB, free: 7.422 MB / 0.6667 GB