Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001044/0.001044, allocations: 188.9 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008217/0.0008215, allocations: 90.83 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3415/0.3423, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.5029, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5323/1.035, allocations: 135.8 MB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/1.035, allocations: 77.58 kB / 1.017 GB, free: 2.969 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02119/1.057, allocations: 8.058 MB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.057, allocations: 8 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/1.057, allocations: 27.73 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/1.057, allocations: 268.5 kB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.057, allocations: 4 kB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/1.057, allocations: 8 kB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000123/1.058, allocations: 50.38 kB / 1.026 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/1.058, allocations: 76.3 kB / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.058, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/1.058, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.058, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/1.058, allocations: 415.5 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/1.059, allocations: 86.06 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/1.059, allocations: 30.92 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/1.059, allocations: 8 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/1.059, allocations: 97 kB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/1.059, allocations: 0 / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0002183/1.059, allocations: 108.1 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.059, allocations: 59.34 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/1.059, allocations: 168.9 kB / 1.027 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.059, allocations: 29.7 kB / 1.027 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/1.059, allocations: 115.7 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/1.059, allocations: 26.06 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/1.059, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.06, allocations: 334.2 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/1.06, allocations: 26.19 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/1.06, allocations: 118.4 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.179e-05/1.06, allocations: 37.52 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.06, allocations: 0 / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002068/1.06, allocations: 134.7 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.06, allocations: 12.12 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.06, allocations: 0 / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.06, allocations: 4 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/1.06, allocations: 19.11 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.06, allocations: 4 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/1.06, allocations: 27.83 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/1.06, allocations: 8 kB / 1.027 GB, free: 10.01 MB / 0.6511 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.506e-05/1.061, allocations: 121.7 kB / 1.028 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/1.061, allocations: 15.81 kB / 1.028 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/1.061, allocations: 16.91 kB / 1.028 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/1.061, allocations: 8 kB / 1.028 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.061, allocations: 3.906 kB / 1.028 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.061, allocations: 3.984 kB / 1.028 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/1.061, allocations: 459 kB / 1.028 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.061, allocations: 0 / 1.028 GB, free: 9.398 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/1.061, allocations: 7.188 kB / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.061, allocations: 0 / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.061, allocations: 3.906 kB / 1.028 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.061, allocations: 0 / 1.028 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.061, allocations: 7.984 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001796/1.062, allocations: 204.3 kB / 1.028 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002946/1.062, allocations: 0.5819 MB / 1.029 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/1.062, allocations: 92.91 kB / 1.029 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/1.062, allocations: 3.75 kB / 1.029 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/1.062, allocations: 23.98 kB / 1.029 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/1.062, allocations: 27.3 kB / 1.029 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/1.062, allocations: 4 kB / 1.029 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.606e-05/1.062, allocations: 133.2 kB / 1.029 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008273/1.063, allocations: 47.55 kB / 1.029 GB, free: 8.289 MB / 0.6511 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.0003202/1.063, allocations: 174.8 kB / 1.029 GB, free: 8.129 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001789/1.064, allocations: 92.25 kB / 1.029 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.064, allocations: 0 / 1.029 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/1.064, allocations: 53.67 kB / 1.029 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/1.064, allocations: 43.56 kB / 1.03 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/1.065, allocations: 211.6 kB / 1.03 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/1.065, allocations: 0.7455 MB / 1.03 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of SimCode: time 3.01e-07/1.065, allocations: 0 / 1.03 GB, free: 7.004 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)