Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.253/1.253, allocations: 249.4 MB / 256.7 MB, free: 0.7148 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 173.4 kB / 316 MB, free: 8.871 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.1 MB / 0.5667 GB, free: 13.36 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.000823, allocations: 88.56 kB / 0.671 GB, free: 51.62 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1943/0.1951, allocations: 112.5 MB / 0.7808 GB, free: 9.785 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.6888, allocations: 106.3 MB / 0.8846 GB, free: 89.41 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.8456, allocations: 134.9 MB / 1.016 GB, free: 10.82 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.8459, allocations: 77.31 kB / 1.016 GB, free: 10.74 MB / 0.6589 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.02421/0.8702, allocations: 8.676 MB / 1.025 GB, free: 2.152 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.8702, allocations: 8 kB / 1.025 GB, free: 2.145 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.8703, allocations: 23.75 kB / 1.025 GB, free: 2.121 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.8708, allocations: 254.6 kB / 1.025 GB, free: 1.832 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.8708, allocations: 7.984 kB / 1.025 GB, free: 1.824 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.8709, allocations: 12 kB / 1.025 GB, free: 1.812 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001283/0.871, allocations: 49.36 kB / 1.025 GB, free: 1.766 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.8712, allocations: 77.66 kB / 1.025 GB, free: 1.684 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.8712, allocations: 0 / 1.025 GB, free: 1.684 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.8712, allocations: 0 / 1.025 GB, free: 1.684 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.8712, allocations: 4 kB / 1.025 GB, free: 1.68 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.8718, allocations: 421.6 kB / 1.026 GB, free: 1.23 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.8721, allocations: 86.75 kB / 1.026 GB, free: 1.137 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.8721, allocations: 32.86 kB / 1.026 GB, free: 1.102 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.8722, allocations: 1.688 kB / 1.026 GB, free: 1.102 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.8723, allocations: 95.28 kB / 1.026 GB, free: 0.9961 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.8723, allocations: 0 / 1.026 GB, free: 0.9961 MB / 0.6589 GB Notification: Performance of matching and sorting (n=16): time 0.0002505/0.8726, allocations: 109.4 kB / 1.026 GB, free: 0.8828 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.8726, allocations: 63.33 kB / 1.026 GB, free: 0.8086 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.8728, allocations: 172.2 kB / 1.026 GB, free: 0.6328 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.8729, allocations: 29.7 kB / 1.026 GB, free: 0.5977 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.8729, allocations: 108.5 kB / 1.026 GB, free: 500 kB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.873, allocations: 31.55 kB / 1.026 GB, free: 468 kB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.873, allocations: 0 / 1.026 GB, free: 468 kB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.8731, allocations: 330.8 kB / 1.027 GB, free: 128 kB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-05/0.8732, allocations: 28.38 kB / 1.027 GB, free: 100 kB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.8734, allocations: 116.2 kB / 1.027 GB, free: 15.96 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.8735, allocations: 38.86 kB / 1.027 GB, free: 15.92 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.8735, allocations: 0 / 1.027 GB, free: 15.92 MB / 0.6746 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002286/0.8738, allocations: 137.3 kB / 1.027 GB, free: 15.78 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8738, allocations: 8 kB / 1.027 GB, free: 15.77 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8738, allocations: 0 / 1.027 GB, free: 15.77 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8738, allocations: 4 kB / 1.027 GB, free: 15.77 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.8739, allocations: 19.92 kB / 1.027 GB, free: 15.75 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8739, allocations: 4 kB / 1.027 GB, free: 15.75 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.8742, allocations: 31.27 kB / 1.027 GB, free: 15.72 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.8742, allocations: 4 kB / 1.027 GB, free: 15.71 MB / 0.6746 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.0001186/0.8743, allocations: 118.7 kB / 1.027 GB, free: 15.59 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.8743, allocations: 15.81 kB / 1.027 GB, free: 15.58 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.8744, allocations: 17.58 kB / 1.027 GB, free: 15.57 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.8744, allocations: 9.266 kB / 1.027 GB, free: 15.56 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8744, allocations: 0 / 1.027 GB, free: 15.56 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8744, allocations: 4 kB / 1.027 GB, free: 15.55 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.8751, allocations: 458.8 kB / 1.028 GB, free: 15.06 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8751, allocations: 0 / 1.028 GB, free: 15.06 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.8751, allocations: 4 kB / 1.028 GB, free: 15.06 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.8751, allocations: 0 / 1.028 GB, free: 15.06 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.8751, allocations: 3.906 kB / 1.028 GB, free: 15.05 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8751, allocations: 2.375 kB / 1.028 GB, free: 15.05 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8752, allocations: 4 kB / 1.028 GB, free: 15.05 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001972/0.8754, allocations: 210.5 kB / 1.028 GB, free: 14.83 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003114/0.8757, allocations: 0.5793 MB / 1.028 GB, free: 14.23 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.8757, allocations: 100.8 kB / 1.029 GB, free: 14.12 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.8758, allocations: 4 kB / 1.029 GB, free: 14.11 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.8759, allocations: 23.89 kB / 1.029 GB, free: 14.09 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.876, allocations: 21.23 kB / 1.029 GB, free: 14.07 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.876, allocations: 7.984 kB / 1.029 GB, free: 14.06 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.0001104/0.8762, allocations: 136 kB / 1.029 GB, free: 13.93 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.0008767/0.877, allocations: 47.98 kB / 1.029 GB, free: 13.88 MB / 0.6746 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.0003417/0.8774, allocations: 161 kB / 1.029 GB, free: 13.75 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.8776, allocations: 95.86 kB / 1.029 GB, free: 13.65 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8776, allocations: 0 / 1.029 GB, free: 13.65 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.8777, allocations: 47.94 kB / 1.029 GB, free: 13.61 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.878, allocations: 51.95 kB / 1.029 GB, free: 13.56 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.8785, allocations: 194.2 kB / 1.029 GB, free: 13.35 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.8789, allocations: 0.7499 MB / 1.03 GB, free: 12.58 MB / 0.6746 GB Notification: Performance of SimCode: time 2.41e-07/0.8789, allocations: 4 kB / 1.03 GB, free: 12.57 MB / 0.6746 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)