Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.092/2.092, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 185.2 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.2 MB / 0.6188 GB, free: 13.25 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.001229, allocations: 95.53 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.645e-06, allocations: 0 / 0.8502 GB, free: 4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5463, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.7701, allocations: 153.9 MB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.7704, allocations: 76.52 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd: time 0.02037/0.7908, allocations: 5.298 MB / 1.118 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.7909, allocations: 4.594 kB / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000581/0.7915, allocations: 447.6 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7915, allocations: 23.95 kB / 1.119 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.7918, allocations: 23.8 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.7921, allocations: 209.4 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.7922, allocations: 29.89 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.7923, allocations: 11.98 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002417/0.7925, allocations: 72.09 kB / 1.119 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.7928, allocations: 124.8 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.7928, allocations: 4 kB / 1.119 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.7929, allocations: 7.906 kB / 1.119 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.7929, allocations: 4.188 kB / 1.119 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009773/0.7939, allocations: 0.6033 MB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.7942, allocations: 50.52 kB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.7943, allocations: 22.52 kB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.7943, allocations: 0 / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.7944, allocations: 120.3 kB / 1.12 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.7944, allocations: 4 kB / 1.12 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002346/0.7947, allocations: 73.48 kB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.7948, allocations: 140.5 kB / 1.12 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.795, allocations: 149.5 kB / 1.12 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.795, allocations: 29.7 kB / 1.12 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.7951, allocations: 131.4 kB / 1.12 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.7952, allocations: 23.73 kB / 1.12 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.7952, allocations: 4 kB / 1.12 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7954, allocations: 322.8 kB / 1.121 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.345e-05/0.7955, allocations: 28 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.7956, allocations: 101.3 kB / 1.121 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.7957, allocations: 42.55 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.7958, allocations: 0 / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003455/0.7961, allocations: 149.3 kB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.7961, allocations: 4 kB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7961, allocations: 4 kB / 1.121 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.7962, allocations: 7.906 kB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.7964, allocations: 31.92 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7964, allocations: 4.297 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.7967, allocations: 27.84 kB / 1.121 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.7967, allocations: 8 kB / 1.121 GB, free: 10.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001213/0.7969, allocations: 153.1 kB / 1.121 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.7969, allocations: 15.81 kB / 1.121 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.797, allocations: 13.41 kB / 1.121 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.797, allocations: 4 kB / 1.121 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.797, allocations: 1.438 kB / 1.121 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.797, allocations: 3.984 kB / 1.121 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.7972, allocations: 186.1 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7972, allocations: 4 kB / 1.122 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.7974, allocations: 8 kB / 1.122 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7974, allocations: 0 / 1.122 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.7974, allocations: 7.984 kB / 1.122 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7974, allocations: 1.688 kB / 1.122 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7974, allocations: 0 / 1.122 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003306/0.7978, allocations: 140.6 kB / 1.122 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.7978, allocations: 92.95 kB / 1.122 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.7979, allocations: 1.25 kB / 1.122 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.7981, allocations: 19.92 kB / 1.122 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.7982, allocations: 12.06 kB / 1.122 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.7982, allocations: 4.078 kB / 1.122 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001288/0.7983, allocations: 121.5 kB / 1.122 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003336/0.7987, allocations: 28 kB / 1.122 GB, free: 9.441 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001383/0.7988, allocations: 99.23 kB / 1.122 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.7991, allocations: 139.3 kB / 1.122 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7991, allocations: 0.625 kB / 1.122 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.7993, allocations: 77.62 kB / 1.122 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.7995, allocations: 15.91 kB / 1.122 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.8002, allocations: 184.5 kB / 1.122 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.8005, allocations: 0.7321 MB / 1.123 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of SimCode: time 8.01e-07/0.8005, allocations: 0 / 1.123 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of Templates: time 0.005284/0.8058, allocations: 1.191 MB / 1.124 GB, free: 6.996 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)