Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [: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.941/1.941, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001176/0.001176, allocations: 181.2 kB / 490.8 MB, free: 1.941 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.367/1.367, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.000896/0.000896, allocations: 93.92 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.263e-06/7.314e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7052/0.9677, allocations: 153.2 MB / 1.361 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.968, allocations: 76.06 kB / 1.361 GB, free: 17.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02253/0.9906, allocations: 8.211 MB / 1.369 GB, free: 16.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.9906, allocations: 2.719 kB / 1.369 GB, free: 16.6 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.0008622/0.9915, allocations: 0.5284 MB / 1.37 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9915, allocations: 13 kB / 1.37 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.9917, allocations: 23.36 kB / 1.37 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.9923, allocations: 257.4 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.9923, allocations: 3.391 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.9924, allocations: 10.03 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001547/0.9925, allocations: 47.66 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.9927, allocations: 80.16 kB / 1.37 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.9927, allocations: 5.312 kB / 1.37 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.9928, allocations: 1.688 kB / 1.37 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.9928, allocations: 2.219 kB / 1.37 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007248/0.9935, allocations: 419.5 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.9938, allocations: 85.55 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.9939, allocations: 32.02 kB / 1.371 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.9939, allocations: 2.125 kB / 1.371 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.994, allocations: 104.2 kB / 1.371 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.9941, allocations: 0 / 1.371 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002631/0.9943, allocations: 114.9 kB / 1.371 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.9944, allocations: 59.44 kB / 1.371 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.9946, allocations: 167.7 kB / 1.371 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.9946, allocations: 29.14 kB / 1.371 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.9947, allocations: 102.8 kB / 1.371 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.9947, allocations: 35.33 kB / 1.371 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.9947, allocations: 0 / 1.371 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9949, allocations: 338.6 kB / 1.372 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.9949, allocations: 28.41 kB / 1.372 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.9951, allocations: 113 kB / 1.372 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.532e-05/0.9952, allocations: 38.55 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9952, allocations: 0.7031 kB / 1.372 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002358/0.9954, allocations: 130.6 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9955, allocations: 4.469 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9955, allocations: 1.922 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.9955, allocations: 2.719 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.9956, allocations: 17.59 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.9956, allocations: 7.188 kB / 1.372 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.9958, allocations: 24.97 kB / 1.372 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.9959, allocations: 8.5 kB / 1.372 GB, free: 30.71 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 0.0001072/0.996, allocations: 122 kB / 1.372 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.996, allocations: 24.55 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.9961, allocations: 17.97 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.9961, allocations: 2.156 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.9961, allocations: 1.828 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9961, allocations: 0.5156 kB / 1.372 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.9969, allocations: 462.4 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.9969, allocations: 0 / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.9969, allocations: 7.891 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.9969, allocations: 1.25 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.9969, allocations: 1.828 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.997, allocations: 1.406 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.997, allocations: 0.7969 kB / 1.373 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002053/0.9972, allocations: 210.4 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.9972, allocations: 95.61 kB / 1.373 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.9973, allocations: 5.938 kB / 1.373 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.9974, allocations: 16.8 kB / 1.373 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.41e-05/0.9975, allocations: 21.06 kB / 1.373 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.9975, allocations: 8.109 kB / 1.373 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001341/0.9977, allocations: 143.8 kB / 1.373 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003589/0.9981, allocations: 49.56 kB / 1.373 GB, free: 29.93 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.0004135/0.9985, allocations: 170.6 kB / 1.373 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.9987, allocations: 91.75 kB / 1.373 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9987, allocations: 1.406 kB / 1.373 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.9988, allocations: 47.75 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.9992, allocations: 51.75 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.9998, allocations: 190.8 kB / 1.374 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/1, allocations: 0.7439 MB / 1.374 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1, allocations: 4 kB / 1.374 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of Templates: time 0.009184/1.009, allocations: 3.234 MB / 1.378 GB, free: 28.7 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)