Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [: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 10.0.0-master/package.mo): time 1.957/1.957, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 182.5 kB / 490.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.3 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 90.97 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.175e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6842/0.9452, allocations: 153.2 MB / 1.361 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.9456, allocations: 79.8 kB / 1.361 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02129/0.9669, allocations: 7.615 MB / 1.369 GB, free: 16.79 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.9669, allocations: 2.656 kB / 1.369 GB, free: 16.79 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007555/0.9677, allocations: 0.5123 MB / 1.369 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.9678, allocations: 13.84 kB / 1.369 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.97e-05/0.9679, allocations: 27.45 kB / 1.369 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.9684, allocations: 264.2 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.9684, allocations: 2.141 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.9685, allocations: 10.92 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/0.9686, allocations: 43.59 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.9688, allocations: 77.56 kB / 1.37 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9688, allocations: 0 / 1.37 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.9688, allocations: 5.828 kB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9688, allocations: 2.406 kB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.9696, allocations: 413.4 kB / 1.37 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.9698, allocations: 91.5 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.9699, allocations: 32.92 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.9699, allocations: 6.672 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.9701, allocations: 86.11 kB / 1.37 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.9701, allocations: 4 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002515/0.9703, allocations: 105.3 kB / 1.37 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.9704, allocations: 58.44 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.9705, allocations: 177.2 kB / 1.37 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.9706, allocations: 28.77 kB / 1.371 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.9706, allocations: 107.5 kB / 1.371 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.9707, allocations: 28.27 kB / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.9707, allocations: 0.5625 kB / 1.371 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.9708, allocations: 339.2 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.9709, allocations: 25.53 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.971, allocations: 118.1 kB / 1.371 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.93e-05/0.9711, allocations: 35.06 kB / 1.371 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.9711, allocations: 9.125 kB / 1.371 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002399/0.9714, allocations: 134.4 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.9714, allocations: 5.094 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9714, allocations: 1.344 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9714, allocations: 2.531 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.9715, allocations: 17.53 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9715, allocations: 2.688 kB / 1.371 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.9717, allocations: 33.88 kB / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.9718, allocations: 12.75 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.09e-05/0.9719, allocations: 110.9 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.9719, allocations: 23.88 kB / 1.371 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.9719, allocations: 19.36 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.972, allocations: 1.5 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.972, allocations: 1.969 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.972, allocations: 0.7969 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.9726, allocations: 460 kB / 1.372 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9726, allocations: 5.281 kB / 1.372 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.9727, allocations: 7.688 kB / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.9727, allocations: 1.219 kB / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.9727, allocations: 5.922 kB / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9727, allocations: 1.375 kB / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9727, allocations: 0 / 1.372 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001998/0.9729, allocations: 208.9 kB / 1.372 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.9729, allocations: 97 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.973, allocations: 5.219 kB / 1.372 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.9731, allocations: 17.12 kB / 1.372 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.9732, allocations: 20.31 kB / 1.372 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.9732, allocations: 7.469 kB / 1.372 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001106/0.9734, allocations: 136.7 kB / 1.372 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003239/0.9737, allocations: 52.05 kB / 1.372 GB, free: 30.13 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003496/0.974, allocations: 165.2 kB / 1.373 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.9743, allocations: 95.08 kB / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9743, allocations: 0 / 1.373 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.9744, allocations: 51.44 kB / 1.373 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.9747, allocations: 56.95 kB / 1.373 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.9753, allocations: 209.6 kB / 1.373 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.9756, allocations: 0.7431 MB / 1.374 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9756, allocations: 1.094 kB / 1.374 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.008512/0.9841, allocations: 3.238 MB / 1.377 GB, free: 28.89 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)