Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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 10.0.0-master/package.mo): time 1.862/1.862, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 188.5 kB / 490.8 MB, free: 11.17 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.221/1.221, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009087, allocations: 101.5 kB / 0.9264 GB, free: 20.89 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.2375/0.2385, allocations: 149.1 MB / 1.072 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.7432, allocations: 143 MB / 1.212 GB, free: 53.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.9033, allocations: 153.3 MB / 1.361 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.9036, allocations: 75.95 kB / 1.361 GB, free: 0.4961 MB / 0.8542 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.03361/0.9372, allocations: 13.57 MB / 1.375 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.9372, allocations: 8 kB / 1.375 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.9373, allocations: 27.8 kB / 1.375 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.9378, allocations: 250.7 kB / 1.375 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.9378, allocations: 4 kB / 1.375 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.9379, allocations: 11.91 kB / 1.375 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/0.938, allocations: 47.98 kB / 1.375 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.9382, allocations: 101.6 kB / 1.375 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.9382, allocations: 0 / 1.375 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.9382, allocations: 0 / 1.375 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.9382, allocations: 4 kB / 1.375 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.9389, allocations: 0.4972 MB / 1.376 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.939, allocations: 85.08 kB / 1.376 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.9391, allocations: 41.78 kB / 1.376 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.9391, allocations: 7.984 kB / 1.376 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.9393, allocations: 109.3 kB / 1.376 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.9393, allocations: 0 / 1.376 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002376/0.9395, allocations: 106.2 kB / 1.376 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.9396, allocations: 85.11 kB / 1.376 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.9397, allocations: 177.3 kB / 1.376 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.9398, allocations: 25.7 kB / 1.376 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.9398, allocations: 112.4 kB / 1.376 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.9399, allocations: 31.56 kB / 1.376 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/0.9399, allocations: 0 / 1.376 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.94, allocations: 330.8 kB / 1.377 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.9401, allocations: 28.41 kB / 1.377 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.9402, allocations: 125.9 kB / 1.377 GB, free: 448 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.62e-05/0.9403, allocations: 38.42 kB / 1.377 GB, free: 412 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9403, allocations: 0 / 1.377 GB, free: 412 kB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002188/0.9406, allocations: 145.2 kB / 1.377 GB, free: 260 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.9406, allocations: 4 kB / 1.377 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9406, allocations: 0 / 1.377 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.9406, allocations: 4 kB / 1.377 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.9407, allocations: 15.94 kB / 1.377 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.9407, allocations: 12.14 kB / 1.377 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.9409, allocations: 23.89 kB / 1.377 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.941, allocations: 12 kB / 1.377 GB, free: 188 kB / 0.8698 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.963e-05/0.9411, allocations: 110.7 kB / 1.377 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.9411, allocations: 19.81 kB / 1.377 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.9411, allocations: 25.36 kB / 1.377 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9412, allocations: 4 kB / 1.377 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9412, allocations: 0 / 1.377 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9412, allocations: 0 / 1.377 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.9417, allocations: 426.8 kB / 1.378 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9417, allocations: 0 / 1.378 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.9417, allocations: 12 kB / 1.378 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9417, allocations: 0 / 1.378 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.9418, allocations: 0 / 1.378 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.9418, allocations: 11.91 kB / 1.378 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.9418, allocations: 3.938 kB / 1.378 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001871/0.942, allocations: 221.5 kB / 1.378 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002836/0.9423, allocations: 0.5959 MB / 1.378 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.9423, allocations: 100.8 kB / 1.378 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.9424, allocations: 4 kB / 1.379 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.9425, allocations: 19.98 kB / 1.379 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.9426, allocations: 19.97 kB / 1.379 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.9426, allocations: 7.938 kB / 1.379 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.394e-05/0.9427, allocations: 136.2 kB / 1.379 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008591/0.9436, allocations: 40 kB / 1.379 GB, free: 14.33 MB / 0.8855 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.0005898/0.9442, allocations: 168.6 kB / 1.379 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.9444, allocations: 91.92 kB / 1.379 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9444, allocations: 0 / 1.379 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.9445, allocations: 44 kB / 1.379 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.9448, allocations: 51.58 kB / 1.379 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.9453, allocations: 204.7 kB / 1.379 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.9456, allocations: 0.7512 MB / 1.38 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.9456, allocations: 0 / 1.38 GB, free: 12.99 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)