Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [: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.955/1.955, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001016/0.001016, allocations: 179 kB / 490.8 MB, free: 1.961 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.31/1.31, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008898/0.0008895, allocations: 99.23 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.794e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2963, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7235/1.02, allocations: 153.3 MB / 1.361 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.02, allocations: 76.36 kB / 1.361 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03497/1.055, allocations: 13.02 MB / 1.374 GB, free: 16.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.906e-05/1.055, allocations: 8.844 kB / 1.374 GB, free: 16.39 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008697/1.056, allocations: 0.5214 MB / 1.375 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.056, allocations: 9.562 kB / 1.375 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/1.056, allocations: 19.12 kB / 1.375 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/1.057, allocations: 262.8 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/1.057, allocations: 4 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/1.057, allocations: 13.5 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001717/1.057, allocations: 45.2 kB / 1.375 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/1.057, allocations: 101.1 kB / 1.375 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.057, allocations: 0 / 1.375 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/1.057, allocations: 6.172 kB / 1.375 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.057, allocations: 5.562 kB / 1.375 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/1.058, allocations: 0.4891 MB / 1.375 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/1.058, allocations: 94.55 kB / 1.376 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/1.059, allocations: 38.92 kB / 1.376 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/1.059, allocations: 1.828 kB / 1.376 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/1.059, allocations: 112 kB / 1.376 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/1.059, allocations: 4 kB / 1.376 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002843/1.059, allocations: 101.5 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.059, allocations: 84.75 kB / 1.376 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/1.059, allocations: 175 kB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/1.059, allocations: 29.56 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/1.059, allocations: 104.2 kB / 1.376 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/1.059, allocations: 31.3 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/1.059, allocations: 1.156 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.06, allocations: 331.7 kB / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/1.06, allocations: 30.98 kB / 1.377 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/1.06, allocations: 126.2 kB / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/1.06, allocations: 35.97 kB / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.06, allocations: 1.062 kB / 1.377 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002491/1.06, allocations: 135.4 kB / 1.377 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.06, allocations: 7.844 kB / 1.377 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.06, allocations: 2.672 kB / 1.377 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.06, allocations: 6.906 kB / 1.377 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/1.06, allocations: 17.95 kB / 1.377 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.06, allocations: 3.656 kB / 1.377 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/1.061, allocations: 29.61 kB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/1.061, allocations: 4.969 kB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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 0.0001034/1.061, allocations: 126 kB / 1.377 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/1.061, allocations: 17.19 kB / 1.377 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/1.061, allocations: 17.73 kB / 1.377 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.061, allocations: 5.906 kB / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/1.061, allocations: 1.656 kB / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.061, allocations: 0.6562 kB / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/1.061, allocations: 431.1 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.061, allocations: 9.547 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/1.062, allocations: 4.359 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.062, allocations: 5.125 kB / 1.378 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.062, allocations: 2.094 kB / 1.378 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.062, allocations: 9.812 kB / 1.378 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.062, allocations: 5.406 kB / 1.378 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002209/1.062, allocations: 220.5 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/1.062, allocations: 96.3 kB / 1.378 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/1.062, allocations: 6.484 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/1.062, allocations: 19.78 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/1.062, allocations: 15.88 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/1.062, allocations: 10.47 kB / 1.378 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001344/1.062, allocations: 137.9 kB / 1.378 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003733/1.063, allocations: 43.69 kB / 1.378 GB, free: 29.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003914/1.063, allocations: 165.6 kB / 1.378 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002277/1.063, allocations: 87.56 kB / 1.378 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.063, allocations: 0 / 1.378 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.88e-05/1.063, allocations: 46.45 kB / 1.378 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/1.064, allocations: 59.3 kB / 1.378 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/1.064, allocations: 197.6 kB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/1.065, allocations: 0.7479 MB / 1.379 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of SimCode: time 6.41e-07/1.065, allocations: 0 / 1.379 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of Templates: time 0.0089/1.074, allocations: 3.202 MB / 1.382 GB, free: 27.22 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)