Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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.885/1.885, allocations: 390.4 MB / 397.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 183.7 kB / 490.8 MB, free: 1.949 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.226/1.226, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 84.73 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4629/0.4639, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.6656, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5469/1.213, allocations: 153.2 MB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/1.213, allocations: 76.2 kB / 1.361 GB, free: 17.21 MB / 0.823 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.02099/1.234, allocations: 8.135 MB / 1.369 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/1.234, allocations: 8.594 kB / 1.369 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.564e-05/1.234, allocations: 26.66 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/1.234, allocations: 257.5 kB / 1.37 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.234, allocations: 2.656 kB / 1.37 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/1.235, allocations: 13.41 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000124/1.235, allocations: 46.23 kB / 1.37 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/1.235, allocations: 85.66 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/1.235, allocations: 0 / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.235, allocations: 7.906 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.235, allocations: 2.594 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/1.235, allocations: 410.9 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/1.236, allocations: 86.72 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/1.236, allocations: 35.8 kB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/1.236, allocations: 4.891 kB / 1.37 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/1.236, allocations: 96.05 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/1.236, allocations: 0 / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002348/1.236, allocations: 103.6 kB / 1.37 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/1.236, allocations: 56.02 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/1.236, allocations: 179.2 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/1.236, allocations: 33.41 kB / 1.371 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/1.236, allocations: 103 kB / 1.371 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/1.237, allocations: 27.75 kB / 1.371 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/1.237, allocations: 0 / 1.371 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001/1.237, allocations: 335.5 kB / 1.371 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.866e-05/1.237, allocations: 25.69 kB / 1.371 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/1.237, allocations: 120.6 kB / 1.371 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/1.237, allocations: 31.39 kB / 1.371 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.237, allocations: 1.406 kB / 1.371 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002146/1.237, allocations: 139.2 kB / 1.371 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.237, allocations: 13.94 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.237, allocations: 1.531 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.237, allocations: 1.406 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/1.237, allocations: 18.05 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.237, allocations: 3 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/1.238, allocations: 32.36 kB / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/1.238, allocations: 5.781 kB / 1.371 GB, free: 30.88 MB / 0.8386 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 8.906e-05/1.238, allocations: 122.3 kB / 1.372 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/1.238, allocations: 19.53 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/1.238, allocations: 19.08 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.238, allocations: 1.906 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.238, allocations: 0.5156 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.238, allocations: 1.828 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/1.238, allocations: 464.3 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.238, allocations: 1.281 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/1.238, allocations: 3 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.238, allocations: 4.969 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.238, allocations: 1.859 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.238, allocations: 1 kB / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.238, allocations: 0 / 1.372 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001927/1.239, allocations: 214 kB / 1.372 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003119/1.239, allocations: 0.5748 MB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/1.239, allocations: 93.27 kB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/1.239, allocations: 1.156 kB / 1.373 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/1.239, allocations: 24.36 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/1.239, allocations: 20.45 kB / 1.373 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/1.239, allocations: 15.14 kB / 1.373 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001132/1.239, allocations: 136.2 kB / 1.373 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009063/1.24, allocations: 56.62 kB / 1.373 GB, free: 29.59 MB / 0.8386 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.0003689/1.241, allocations: 167.5 kB / 1.373 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002292/1.241, allocations: 93.11 kB / 1.373 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.241, allocations: 1.156 kB / 1.373 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/1.241, allocations: 49.91 kB / 1.373 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/1.241, allocations: 51.58 kB / 1.374 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/1.242, allocations: 215.5 kB / 1.374 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/1.242, allocations: 0.7493 MB / 1.374 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.242, allocations: 0 / 1.374 GB, free: 28.64 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)