Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") [: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.1.4-maint.8.1.x/package.mo): time 1.357/1.357, allocations: 289.8 MB / 297.1 MB, free: 9.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009698/0.0009698, allocations: 189.2 kB / 366.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 205.1 MB / 0.6256 GB, free: 2.176 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008508/0.0008508, allocations: 85.22 kB / 0.7396 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.53e-06, allocations: 1.375 kB / 0.859 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 116.3 MB / 0.9726 GB, free: 54.34 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5622, allocations: 160.1 MB / 1.129 GB, free: 22.84 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.5624, allocations: 89.41 kB / 1.129 GB, free: 22.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.02705/0.5895, allocations: 13.71 MB / 1.142 GB, free: 21.67 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5895, allocations: 3.812 kB / 1.142 GB, free: 21.67 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004471/0.59, allocations: 473.3 kB / 1.143 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.59, allocations: 7.781 kB / 1.143 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005833/0.5906, allocations: 79.52 kB / 1.143 GB, free: 37.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.5908, allocations: 228.6 kB / 1.143 GB, free: 37.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.5908, allocations: 11.81 kB / 1.143 GB, free: 37.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.5909, allocations: 7.75 kB / 1.143 GB, free: 37.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002476/0.5911, allocations: 187.1 kB / 1.143 GB, free: 37.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.5914, allocations: 300.1 kB / 1.144 GB, free: 36.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5914, allocations: 3.938 kB / 1.144 GB, free: 36.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.5915, allocations: 3.906 kB / 1.144 GB, free: 36.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.5915, allocations: 30.16 kB / 1.144 GB, free: 36.89 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.5927, allocations: 1.576 MB / 1.145 GB, free: 35.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.5929, allocations: 178 kB / 1.145 GB, free: 35.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.593, allocations: 89.12 kB / 1.146 GB, free: 35.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5932, allocations: 83.97 kB / 1.146 GB, free: 35.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.5932, allocations: 45.69 kB / 1.146 GB, free: 35.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.5932, allocations: 0 / 1.146 GB, free: 35.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0005491/0.5938, allocations: 275.4 kB / 1.146 GB, free: 35.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5938, allocations: 81.05 kB / 1.146 GB, free: 35.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5939, allocations: 141.4 kB / 1.146 GB, free: 35.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5939, allocations: 25.7 kB / 1.146 GB, free: 35.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.594, allocations: 149.6 kB / 1.146 GB, free: 34.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.594, allocations: 49.56 kB / 1.146 GB, free: 34.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.594, allocations: 0 / 1.146 GB, free: 34.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.5941, allocations: 323 kB / 1.147 GB, free: 34.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.5942, allocations: 82.17 kB / 1.147 GB, free: 34.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5943, allocations: 159 kB / 1.147 GB, free: 34.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.5945, allocations: 123.6 kB / 1.147 GB, free: 34.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5946, allocations: 4 kB / 1.147 GB, free: 34.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003787/0.5949, allocations: 283.7 kB / 1.147 GB, free: 34.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.5952, allocations: 0.9564 MB / 1.148 GB, free: 33.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5952, allocations: 7.875 kB / 1.148 GB, free: 33.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5953, allocations: 3.875 kB / 1.148 GB, free: 33.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.5955, allocations: 50.36 kB / 1.148 GB, free: 33.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5955, allocations: 5.422 kB / 1.148 GB, free: 33.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.5956, allocations: 18.78 kB / 1.148 GB, free: 33.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.5957, allocations: 11.78 kB / 1.148 GB, free: 33.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-06/0.5957, allocations: 3.906 kB / 1.148 GB, free: 33.45 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003066/0.596, allocations: 224.6 kB / 1.148 GB, free: 33.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.596, allocations: 0 / 1.148 GB, free: 33.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-06/0.596, allocations: 3.844 kB / 1.149 GB, free: 33.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.5962, allocations: 54.19 kB / 1.149 GB, free: 33.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.5962, allocations: 7.812 kB / 1.149 GB, free: 33.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.5963, allocations: 5.656 kB / 1.149 GB, free: 33.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.5963, allocations: 13.39 kB / 1.149 GB, free: 33.42 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 7.199e-05/0.5964, allocations: 112.7 kB / 1.149 GB, free: 33.31 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.5965, allocations: 19.5 kB / 1.149 GB, free: 33.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.5968, allocations: 222.4 kB / 1.149 GB, free: 33.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5968, allocations: 3.938 kB / 1.149 GB, free: 33.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5968, allocations: 7.969 kB / 1.149 GB, free: 33.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5968, allocations: 1.312 kB / 1.149 GB, free: 33.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.5979, allocations: 1.043 MB / 1.15 GB, free: 32.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5979, allocations: 3.906 kB / 1.15 GB, free: 32.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.598, allocations: 33.03 kB / 1.15 GB, free: 32.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.598, allocations: 11.69 kB / 1.15 GB, free: 32.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.5981, allocations: 8.312 kB / 1.15 GB, free: 32.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5981, allocations: 9.25 kB / 1.15 GB, free: 32.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5981, allocations: 7.781 kB / 1.15 GB, free: 32.57 MB / 0.7325 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003292/0.5984, allocations: 0.5191 MB / 1.151 GB, free: 32.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.5985, allocations: 110 kB / 1.151 GB, free: 32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.5985, allocations: 5.469 kB / 1.151 GB, free: 32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.5988, allocations: 10.64 kB / 1.151 GB, free: 32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.5988, allocations: 18.48 kB / 1.151 GB, free: 32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.5988, allocations: 11.53 kB / 1.151 GB, free: 31.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.018e-05/0.5989, allocations: 123.4 kB / 1.151 GB, free: 31.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004194/0.5993, allocations: 82.89 kB / 1.151 GB, free: 31.91 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0001259/0.5995, allocations: 120 kB / 1.151 GB, free: 31.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.5998, allocations: 315.4 kB / 1.151 GB, free: 31.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5998, allocations: 320 / 1.151 GB, free: 31.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.5999, allocations: 91.95 kB / 1.151 GB, free: 31.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.6002, allocations: 24.69 kB / 1.151 GB, free: 31.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.6007, allocations: 381.8 kB / 1.152 GB, free: 31.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.601, allocations: 0.7732 MB / 1.153 GB, free: 30.86 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6011, allocations: 0 / 1.153 GB, free: 30.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.004474/0.6055, allocations: 2.692 MB / 1.155 GB, free: 30.69 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)