Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.392/1.392, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001046/0.001046, allocations: 177.3 kB / 361.1 MB, free: 7.082 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.223/1.223, allocations: 205.1 MB / 0.6195 GB, free: 10.36 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.0007779/0.0007779, allocations: 95.58 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2089/0.2097, allocations: 121.4 MB / 0.8511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.7408, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.897, allocations: 141.1 MB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.8973, allocations: 81.25 kB / 1.102 GB, free: 14.82 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.03245/0.9298, allocations: 12.51 MB / 1.114 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.9298, allocations: 12 kB / 1.114 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/0.9299, allocations: 15.81 kB / 1.114 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.9305, allocations: 258.6 kB / 1.114 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.9305, allocations: 15.91 kB / 1.114 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.9305, allocations: 11.98 kB / 1.114 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001357/0.9307, allocations: 43.95 kB / 1.114 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.9309, allocations: 99.38 kB / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.9309, allocations: 0 / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.9309, allocations: 0 / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.9309, allocations: 0 / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.9316, allocations: 0.5011 MB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.9318, allocations: 85.28 kB / 1.115 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.9318, allocations: 37.78 kB / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.9318, allocations: 0 / 1.115 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.932, allocations: 109.2 kB / 1.115 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.545e-06/0.932, allocations: 0 / 1.115 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002375/0.9322, allocations: 110.2 kB / 1.115 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.9323, allocations: 81.11 kB / 1.115 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.9325, allocations: 177.4 kB / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.9325, allocations: 29.7 kB / 1.115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.9326, allocations: 112.4 kB / 1.116 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.9326, allocations: 31.64 kB / 1.116 GB, free: 484 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.9326, allocations: 0 / 1.116 GB, free: 484 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.9327, allocations: 326.8 kB / 1.116 GB, free: 148 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.9328, allocations: 30.53 kB / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.933, allocations: 130.3 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.631e-05/0.9331, allocations: 35.98 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9331, allocations: 0 / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002259/0.9333, allocations: 141.4 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.9333, allocations: 4.938 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9334, allocations: 8.922 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.9334, allocations: 4 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.9335, allocations: 19.92 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.9335, allocations: 0 / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.9337, allocations: 39.83 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.9338, allocations: 8 kB / 1.116 GB, free: 15.7 MB / 0.7292 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 9.461e-05/0.9339, allocations: 125.5 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.9339, allocations: 19.81 kB / 1.116 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.9339, allocations: 17.38 kB / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9339, allocations: 0 / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.934, allocations: 4 kB / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.934, allocations: 3.984 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.9345, allocations: 422.9 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9345, allocations: 0 / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/0.9345, allocations: 7.984 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.9345, allocations: 4 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.9346, allocations: 0 / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.9346, allocations: 5.688 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9346, allocations: 0 / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001873/0.9348, allocations: 232.2 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000276/0.935, allocations: 0.5881 MB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.9351, allocations: 96.83 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.9352, allocations: 1.688 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.9353, allocations: 23.97 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.9354, allocations: 19.97 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.9354, allocations: 8 kB / 1.118 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.93e-05/0.9355, allocations: 132.3 kB / 1.118 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000862/0.9364, allocations: 55.86 kB / 1.118 GB, free: 13.84 MB / 0.7292 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.0003269/0.9367, allocations: 163.1 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.9369, allocations: 87.88 kB / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9369, allocations: 0 / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.937, allocations: 51.92 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.9374, allocations: 43.34 kB / 1.118 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.9379, allocations: 229.4 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003584/0.9383, allocations: 0.7438 MB / 1.119 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.9383, allocations: 0 / 1.119 GB, free: 12.51 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)