Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.497/2.497, allocations: 284.8 MB / 292.1 MB, free: 10.7 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.001652/0.001652, allocations: 185.3 kB / 360.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001247/0.001247, allocations: 88.42 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3007/0.302, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6556/0.9577, allocations: 115.2 MB / 0.9627 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2571/1.215, allocations: 141 MB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.215, allocations: 77.5 kB / 1.1 GB, free: 15.74 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.03896/1.254, allocations: 8.675 MB / 1.109 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.254, allocations: 8.5 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/1.254, allocations: 19.81 kB / 1.109 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/1.255, allocations: 258.7 kB / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/1.255, allocations: 0 / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/1.255, allocations: 12 kB / 1.109 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002109/1.256, allocations: 51.94 kB / 1.109 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/1.256, allocations: 78.44 kB / 1.109 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.256, allocations: 0 / 1.109 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/1.256, allocations: 3.984 kB / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.256, allocations: 0 / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/1.257, allocations: 416.9 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/1.257, allocations: 88.56 kB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/1.257, allocations: 32.84 kB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/1.257, allocations: 7.922 kB / 1.11 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/1.258, allocations: 89.39 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 5.872e-06/1.258, allocations: 3.984 kB / 1.11 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003911/1.258, allocations: 121.3 kB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.258, allocations: 55.41 kB / 1.11 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/1.258, allocations: 169.7 kB / 1.11 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/1.258, allocations: 29.7 kB / 1.11 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/1.258, allocations: 108.4 kB / 1.11 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/1.258, allocations: 31.55 kB / 1.11 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/1.259, allocations: 0 / 1.11 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.259, allocations: 326.8 kB / 1.111 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/1.259, allocations: 32.38 kB / 1.111 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/1.259, allocations: 123.6 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/1.259, allocations: 27.98 kB / 1.111 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.259, allocations: 4 kB / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003701/1.26, allocations: 134.5 kB / 1.111 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.26, allocations: 4 kB / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.26, allocations: 4 kB / 1.111 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.26, allocations: 0 / 1.111 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/1.26, allocations: 18.53 kB / 1.111 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.26, allocations: 7.984 kB / 1.111 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/1.26, allocations: 31.95 kB / 1.111 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/1.26, allocations: 4 kB / 1.111 GB, free: 4.688 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 0.0002466/1.261, allocations: 118.5 kB / 1.111 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/1.261, allocations: 19.72 kB / 1.111 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/1.261, allocations: 17.58 kB / 1.111 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/1.261, allocations: 4 kB / 1.111 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.261, allocations: 4 kB / 1.111 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.261, allocations: 0 / 1.111 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/1.262, allocations: 463.1 kB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.262, allocations: 0 / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/1.262, allocations: 7.922 kB / 1.112 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.058e-06/1.262, allocations: 8 kB / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/1.262, allocations: 0 / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.262, allocations: 0 / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.262, allocations: 0 / 1.112 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003041/1.263, allocations: 207.2 kB / 1.112 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004753/1.263, allocations: 0.5874 MB / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/1.263, allocations: 100.8 kB / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/1.263, allocations: 3.984 kB / 1.113 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/1.264, allocations: 15.98 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.264, allocations: 19.97 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/1.264, allocations: 12 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001657/1.264, allocations: 136.2 kB / 1.113 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001314/1.265, allocations: 47.91 kB / 1.113 GB, free: 2.844 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.0005187/1.266, allocations: 165.1 kB / 1.113 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000386/1.266, allocations: 91.91 kB / 1.113 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.266, allocations: 0 / 1.113 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/1.267, allocations: 48.59 kB / 1.113 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/1.267, allocations: 49.14 kB / 1.113 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/1.268, allocations: 184.7 kB / 1.113 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/1.268, allocations: 0.7532 MB / 1.114 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/1.268, allocations: 4 kB / 1.114 GB, free: 1.531 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)