Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 1.967/1.967, allocations: 248.6 MB / 255.9 MB, free: 7.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001683, allocations: 185.2 kB / 315.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 0.5658 GB, free: 308 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 87.25 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4118/0.4132, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.5986, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5984/1.197, allocations: 135.7 MB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.197, allocations: 79.95 kB / 1.016 GB, free: 4.477 MB / 0.6355 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.05779/1.255, allocations: 13.47 MB / 1.029 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.255, allocations: 8 kB / 1.029 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/1.255, allocations: 27.72 kB / 1.029 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/1.256, allocations: 263.2 kB / 1.03 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.256, allocations: 8 kB / 1.03 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/1.256, allocations: 8 kB / 1.03 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002336/1.257, allocations: 48.3 kB / 1.03 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/1.257, allocations: 96.42 kB / 1.03 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.257, allocations: 0 / 1.03 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/1.257, allocations: 7.938 kB / 1.03 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/1.257, allocations: 3.906 kB / 1.03 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/1.258, allocations: 0.5006 MB / 1.03 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/1.258, allocations: 90.14 kB / 1.03 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/1.258, allocations: 36.59 kB / 1.03 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/1.258, allocations: 4 kB / 1.03 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/1.259, allocations: 114.3 kB / 1.03 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/1.259, allocations: 0 / 1.03 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003596/1.259, allocations: 102.1 kB / 1.031 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/1.259, allocations: 88.59 kB / 1.031 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/1.259, allocations: 173.2 kB / 1.031 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/1.259, allocations: 25.7 kB / 1.031 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/1.259, allocations: 110.2 kB / 1.031 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/1.259, allocations: 37.19 kB / 1.031 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/1.259, allocations: 0 / 1.031 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.26, allocations: 339.8 kB / 1.031 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/1.26, allocations: 26.81 kB / 1.031 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/1.26, allocations: 122.2 kB / 1.031 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/1.26, allocations: 30.23 kB / 1.031 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.26, allocations: 4 kB / 1.031 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003661/1.261, allocations: 139.6 kB / 1.032 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.261, allocations: 4 kB / 1.032 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.261, allocations: 0 / 1.032 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.261, allocations: 4 kB / 1.032 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/1.261, allocations: 19.25 kB / 1.032 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.261, allocations: 7.906 kB / 1.032 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/1.261, allocations: 28.09 kB / 1.032 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/1.261, allocations: 8 kB / 1.032 GB, free: 6.875 MB / 0.6511 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.000128/1.261, allocations: 117.8 kB / 1.032 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/1.261, allocations: 15.81 kB / 1.032 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/1.262, allocations: 20.14 kB / 1.032 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.262, allocations: 4 kB / 1.032 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.262, allocations: 0 / 1.032 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.262, allocations: 0 / 1.032 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/1.262, allocations: 439.7 kB / 1.032 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.262, allocations: 0 / 1.032 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/1.262, allocations: 6.75 kB / 1.032 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.263, allocations: 0 / 1.032 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.263, allocations: 0 / 1.032 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.263, allocations: 7.938 kB / 1.032 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.263, allocations: 0 / 1.032 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002941/1.263, allocations: 233.1 kB / 1.032 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004183/1.263, allocations: 0.5892 MB / 1.033 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/1.263, allocations: 100.7 kB / 1.033 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/1.263, allocations: 7.938 kB / 1.033 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/1.264, allocations: 19.98 kB / 1.033 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/1.264, allocations: 19.34 kB / 1.033 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/1.264, allocations: 4.094 kB / 1.033 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001997/1.264, allocations: 137.5 kB / 1.033 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001297/1.265, allocations: 54.53 kB / 1.033 GB, free: 5.125 MB / 0.6511 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.0004682/1.266, allocations: 163.7 kB / 1.034 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003851/1.266, allocations: 92.36 kB / 1.034 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.266, allocations: 0 / 1.034 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/1.266, allocations: 46.5 kB / 1.034 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/1.267, allocations: 39.14 kB / 1.034 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/1.268, allocations: 193 kB / 1.034 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/1.268, allocations: 0.7465 MB / 1.035 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of SimCode: time 1.203e-06/1.268, allocations: 0 / 1.035 GB, free: 3.871 MB / 0.6511 GB