Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 1.881/1.881, allocations: 248.6 MB / 255.9 MB, free: 360 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001599, allocations: 176.8 kB / 315.1 MB, free: 7.758 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.872/1.872, allocations: 205.1 MB / 0.5658 GB, free: 25.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 90.83 kB / 0.67 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2499/0.2512, allocations: 112.4 MB / 0.7797 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.7074, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.9127, allocations: 134.7 MB / 1.015 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.913, allocations: 75.95 kB / 1.015 GB, free: 6.355 MB / 0.6667 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.05535/0.9684, allocations: 12.53 MB / 1.027 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.9684, allocations: 8 kB / 1.027 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.9686, allocations: 23.72 kB / 1.027 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007869/0.9694, allocations: 262.7 kB / 1.028 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.9694, allocations: 4 kB / 1.028 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.9695, allocations: 11.94 kB / 1.028 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/0.9697, allocations: 43.98 kB / 1.028 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.97, allocations: 101.5 kB / 1.028 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.97, allocations: 0 / 1.028 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.97, allocations: 4 kB / 1.028 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.97, allocations: 4 kB / 1.028 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009912/0.971, allocations: 0.4895 MB / 1.028 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.9713, allocations: 97.06 kB / 1.028 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.9714, allocations: 33.78 kB / 1.028 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.9714, allocations: 7.984 kB / 1.028 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.9716, allocations: 109.2 kB / 1.028 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.9717, allocations: 0 / 1.028 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000352/0.972, allocations: 109.5 kB / 1.029 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.9721, allocations: 85.05 kB / 1.029 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.9723, allocations: 173.4 kB / 1.029 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.9724, allocations: 29.7 kB / 1.029 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.9725, allocations: 116.3 kB / 1.029 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.9726, allocations: 23.72 kB / 1.029 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.9726, allocations: 0 / 1.029 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9727, allocations: 334.7 kB / 1.029 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.9728, allocations: 28.38 kB / 1.029 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.9731, allocations: 123.4 kB / 1.029 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.9732, allocations: 41.41 kB / 1.029 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9732, allocations: 0 / 1.029 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003782/0.9736, allocations: 137.4 kB / 1.03 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9737, allocations: 4.625 kB / 1.03 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.9737, allocations: 0 / 1.03 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.9737, allocations: 4 kB / 1.03 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.9739, allocations: 19.98 kB / 1.03 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9739, allocations: 7.938 kB / 1.03 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.9743, allocations: 31.98 kB / 1.03 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.9743, allocations: 4 kB / 1.03 GB, free: 7.062 MB / 0.6823 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.0001227/0.9745, allocations: 114.8 kB / 1.03 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.9745, allocations: 23.7 kB / 1.03 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.339e-05/0.9746, allocations: 17.45 kB / 1.03 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.9746, allocations: 4 kB / 1.03 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9747, allocations: 0 / 1.03 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.9747, allocations: 4 kB / 1.03 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.9756, allocations: 444.3 kB / 1.03 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.9756, allocations: 0 / 1.03 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.9756, allocations: 7.938 kB / 1.03 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9756, allocations: 3.938 kB / 1.03 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.9757, allocations: 3.984 kB / 1.03 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.9757, allocations: 4 kB / 1.03 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9757, allocations: 0 / 1.03 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003003/0.976, allocations: 221.8 kB / 1.03 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004766/0.9765, allocations: 0.5951 MB / 1.031 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.9766, allocations: 92.91 kB / 1.031 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.9766, allocations: 8 kB / 1.031 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.9769, allocations: 15.98 kB / 1.031 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.977, allocations: 19.97 kB / 1.031 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.977, allocations: 7.984 kB / 1.031 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000159/0.9772, allocations: 140.3 kB / 1.031 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001325/0.9785, allocations: 51.83 kB / 1.031 GB, free: 5.191 MB / 0.6823 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.0004277/0.979, allocations: 156.8 kB / 1.031 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.9793, allocations: 95.11 kB / 1.032 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9794, allocations: 0 / 1.032 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.9795, allocations: 47.92 kB / 1.032 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.9801, allocations: 46.48 kB / 1.032 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.9809, allocations: 208.8 kB / 1.032 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.9813, allocations: 0.7508 MB / 1.033 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/0.9813, allocations: 4 kB / 1.033 GB, free: 3.863 MB / 0.6823 GB