Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.408/1.408, 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.0009603/0.0009603, allocations: 181.3 kB / 361.1 MB, free: 7.102 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.356/1.356, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008203/0.0008204, allocations: 86.73 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2164/0.2173, allocations: 121.4 MB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.7445, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.9009, allocations: 141.2 MB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9012, allocations: 76.8 kB / 1.102 GB, free: 14.7 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.03574/0.937, allocations: 13.46 MB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.9371, allocations: 8.5 kB / 1.115 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.9372, allocations: 20.75 kB / 1.115 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.9378, allocations: 262.6 kB / 1.115 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.9378, allocations: 3.906 kB / 1.115 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.9378, allocations: 12 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001503/0.938, allocations: 53.81 kB / 1.115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.9382, allocations: 99.33 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9382, allocations: 0 / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.9382, allocations: 3.984 kB / 1.115 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.9382, allocations: 4 kB / 1.115 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.939, allocations: 0.4933 MB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.9392, allocations: 86.38 kB / 1.116 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.9392, allocations: 41.77 kB / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.9393, allocations: 0 / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.9395, allocations: 117.2 kB / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.9395, allocations: 0 / 1.116 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.00027/0.9398, allocations: 105.4 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.9399, allocations: 85.09 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.9401, allocations: 173.4 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.9401, allocations: 29.7 kB / 1.116 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.9402, allocations: 108.5 kB / 1.117 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.9403, allocations: 31.55 kB / 1.117 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.9403, allocations: 0 / 1.117 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9404, allocations: 334.6 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.9405, allocations: 28.41 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.9407, allocations: 127.2 kB / 1.117 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.9407, allocations: 43.92 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9408, allocations: 0 / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002436/0.941, allocations: 133.3 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.941, allocations: 8 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.941, allocations: 3.984 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.9411, allocations: 4 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.784e-05/0.9412, allocations: 16.16 kB / 1.117 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.9412, allocations: 7.938 kB / 1.117 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.9414, allocations: 31.81 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.9414, allocations: 8 kB / 1.117 GB, free: 14.64 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.0001115/0.9415, allocations: 117.3 kB / 1.117 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.9416, allocations: 22.59 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.9416, allocations: 21.45 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9417, allocations: 4 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.9417, allocations: 0 / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.9417, allocations: 0 / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.9422, allocations: 425.1 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9423, allocations: 3.984 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.9423, allocations: 7.938 kB / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9423, allocations: 0 / 1.118 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.9423, allocations: 11.91 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.9423, allocations: 4 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9423, allocations: 0 / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002194/0.9426, allocations: 213.9 kB / 1.118 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003288/0.9429, allocations: 0.6027 MB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.943, allocations: 96.83 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.943, allocations: 3.984 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.9432, allocations: 23.98 kB / 1.119 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.9432, allocations: 15.97 kB / 1.119 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.9433, allocations: 8 kB / 1.119 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000118/0.9434, allocations: 136.2 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009411/0.9443, allocations: 36 kB / 1.119 GB, free: 12.8 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.0003425/0.9447, allocations: 175.2 kB / 1.119 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.9449, allocations: 96.17 kB / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9449, allocations: 0 / 1.119 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.945, allocations: 43.94 kB / 1.119 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.9454, allocations: 41.77 kB / 1.119 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.9459, allocations: 205.5 kB / 1.119 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004176/0.9463, allocations: 0.7479 MB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.9463, allocations: 0 / 1.12 GB, free: 11.48 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)