Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001792/0.001792, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.699/1.699, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009458/0.0009457, allocations: 91.88 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3178/0.3188, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/1.033, allocations: 116.3 MB / 0.9726 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/1.227, allocations: 142.1 MB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.228, allocations: 89.84 kB / 1.112 GB, free: 6.242 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.03518/1.263, allocations: 12.5 MB / 1.124 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.263, allocations: 8.75 kB / 1.124 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.263, allocations: 27.8 kB / 1.124 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/1.264, allocations: 262.6 kB / 1.124 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/1.264, allocations: 7.906 kB / 1.124 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/1.264, allocations: 12 kB / 1.124 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001397/1.264, allocations: 47.94 kB / 1.124 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/1.264, allocations: 100 kB / 1.124 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.264, allocations: 0 / 1.124 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.264, allocations: 0.5625 kB / 1.124 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.264, allocations: 4 kB / 1.124 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/1.265, allocations: 0.4894 MB / 1.125 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/1.265, allocations: 89.12 kB / 1.125 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/1.265, allocations: 37.78 kB / 1.125 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/1.265, allocations: 1.031 kB / 1.125 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/1.266, allocations: 113.1 kB / 1.125 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/1.266, allocations: 4 kB / 1.125 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0003583/1.266, allocations: 108 kB / 1.125 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/1.266, allocations: 85.11 kB / 1.125 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/1.266, allocations: 173.4 kB / 1.125 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/1.266, allocations: 33.73 kB / 1.125 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/1.267, allocations: 112.4 kB / 1.125 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/1.267, allocations: 23.62 kB / 1.125 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/1.267, allocations: 1.031 kB / 1.125 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.267, allocations: 330.8 kB / 1.126 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.353e-05/1.267, allocations: 32.38 kB / 1.126 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/1.267, allocations: 124.1 kB / 1.126 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/1.267, allocations: 35.92 kB / 1.126 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.267, allocations: 0 / 1.126 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002778/1.267, allocations: 141.2 kB / 1.126 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.268, allocations: 8 kB / 1.126 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.268, allocations: 0 / 1.126 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.268, allocations: 4 kB / 1.126 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/1.268, allocations: 12 kB / 1.126 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.268, allocations: 8.578 kB / 1.126 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/1.268, allocations: 43.98 kB / 1.126 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/1.268, allocations: 7.938 kB / 1.126 GB, free: 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 0.0001287/1.268, allocations: 113.3 kB / 1.126 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/1.268, allocations: 19.81 kB / 1.126 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/1.268, allocations: 21.36 kB / 1.126 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.268, allocations: 4 kB / 1.126 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.268, allocations: 9.156 kB / 1.126 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.268, allocations: 0 / 1.126 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/1.269, allocations: 429.6 kB / 1.127 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.269, allocations: 4 kB / 1.127 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/1.269, allocations: 3.938 kB / 1.127 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.269, allocations: 4 kB / 1.127 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.269, allocations: 0 / 1.127 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.269, allocations: 3.906 kB / 1.127 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.269, allocations: 4 kB / 1.127 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002302/1.269, allocations: 221.8 kB / 1.127 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003664/1.27, allocations: 0.5881 MB / 1.127 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/1.27, allocations: 104.8 kB / 1.128 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/1.27, allocations: 0 / 1.128 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/1.27, allocations: 21.39 kB / 1.128 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/1.27, allocations: 15.97 kB / 1.128 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/1.27, allocations: 12 kB / 1.128 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001142/1.27, allocations: 136.2 kB / 1.128 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001176/1.271, allocations: 47.94 kB / 1.128 GB, free: 5.148 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.0004898/1.272, allocations: 169.7 kB / 1.128 GB, free: 5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002515/1.272, allocations: 91.86 kB / 1.128 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.272, allocations: 0 / 1.128 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/1.272, allocations: 43.94 kB / 1.128 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/1.273, allocations: 49.56 kB / 1.128 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/1.273, allocations: 212.5 kB / 1.128 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/1.274, allocations: 0.7547 MB / 1.129 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/1.274, allocations: 0 / 1.129 GB, free: 3.805 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1)