Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.403/1.403, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001373, allocations: 185.2 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 0.6195 GB, free: 10.39 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009092, allocations: 95.39 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2324/0.2334, allocations: 121.4 MB / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5233/0.7567, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.9205, allocations: 141.2 MB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.9208, allocations: 75.97 kB / 1.102 GB, free: 14.75 MB / 0.7136 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.02283/0.9436, allocations: 8.669 MB / 1.11 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.9437, allocations: 9.719 kB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.9438, allocations: 25.5 kB / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.9443, allocations: 262 kB / 1.11 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.9444, allocations: 4 kB / 1.11 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.9444, allocations: 8 kB / 1.11 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001286/0.9445, allocations: 43.98 kB / 1.11 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.9447, allocations: 87.59 kB / 1.111 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9447, allocations: 0 / 1.111 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.9447, allocations: 0 / 1.111 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.9447, allocations: 4 kB / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.9454, allocations: 416.9 kB / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.9456, allocations: 91.92 kB / 1.111 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.9457, allocations: 32.86 kB / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.9457, allocations: 7.938 kB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.9459, allocations: 87.59 kB / 1.111 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.9459, allocations: 4 kB / 1.111 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002254/0.9461, allocations: 120.1 kB / 1.111 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.9461, allocations: 59.41 kB / 1.111 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.9463, allocations: 163 kB / 1.111 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.9463, allocations: 29.7 kB / 1.112 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.9464, allocations: 104.4 kB / 1.112 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.9465, allocations: 39.53 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.9465, allocations: 4 kB / 1.112 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.9466, allocations: 338.6 kB / 1.112 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.9467, allocations: 24.38 kB / 1.112 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.9468, allocations: 113.5 kB / 1.112 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.9469, allocations: 31.98 kB / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9469, allocations: 0 / 1.112 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000223/0.9471, allocations: 137.9 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9472, allocations: 10.66 kB / 1.112 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9472, allocations: 0 / 1.112 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.9472, allocations: 5.938 kB / 1.112 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.9473, allocations: 15.98 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.9473, allocations: 0 / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.9475, allocations: 28.02 kB / 1.112 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.9476, allocations: 11.94 kB / 1.112 GB, free: 3.703 MB / 0.7136 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.819e-05/0.9477, allocations: 110.7 kB / 1.112 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.9477, allocations: 23.7 kB / 1.112 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.9477, allocations: 21.59 kB / 1.112 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.9478, allocations: 4 kB / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9478, allocations: 0 / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.9478, allocations: 0 / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.9484, allocations: 458.7 kB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9484, allocations: 0 / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.9484, allocations: 11.94 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9484, allocations: 0 / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.9484, allocations: 0 / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.9485, allocations: 3.984 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.9485, allocations: 4 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001905/0.9487, allocations: 211.2 kB / 1.113 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003129/0.949, allocations: 0.5849 MB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.9491, allocations: 96.84 kB / 1.114 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.9491, allocations: 7.938 kB / 1.114 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.9492, allocations: 15.98 kB / 1.114 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.9493, allocations: 23.97 kB / 1.114 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.9494, allocations: 11.98 kB / 1.114 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.995e-05/0.9495, allocations: 132 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008892/0.9504, allocations: 51.89 kB / 1.114 GB, free: 1.859 MB / 0.7136 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.0003907/0.9508, allocations: 159.2 kB / 1.114 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.951, allocations: 95.92 kB / 1.114 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.951, allocations: 0 / 1.114 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.9511, allocations: 48.19 kB / 1.114 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.9515, allocations: 42.2 kB / 1.114 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.952, allocations: 199.3 kB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.9524, allocations: 0.7511 MB / 1.115 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9524, allocations: 0 / 1.115 GB, free: 0.543 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)