Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.115/2.115, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001523/0.001523, allocations: 181.2 kB / 360.4 MB, free: 7.477 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.655/1.655, allocations: 205.2 MB / 0.6188 GB, free: 12.41 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.001236/0.001236, allocations: 93.16 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.154e-06, allocations: 0 / 0.8503 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5395, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.7698, allocations: 159 MB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.7702, allocations: 94.38 kB / 1.118 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.0524/0.8226, allocations: 13.71 MB / 1.132 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.8226, allocations: 4 kB / 1.132 GB, free: 15.89 MB / 0.7448 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.0008152/0.8235, allocations: 470.1 kB / 1.132 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8235, allocations: 8.531 kB / 1.132 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.8246, allocations: 79.62 kB / 1.132 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.8249, allocations: 230.7 kB / 1.132 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.825, allocations: 8 kB / 1.132 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.825, allocations: 8 kB / 1.132 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005414/0.8256, allocations: 192.6 kB / 1.132 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.8262, allocations: 307.4 kB / 1.133 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8263, allocations: 3.938 kB / 1.133 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.8263, allocations: 4 kB / 1.133 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.365e-05/0.8264, allocations: 19.98 kB / 1.133 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.8285, allocations: 1.565 MB / 1.134 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.8289, allocations: 189.1 kB / 1.135 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.8291, allocations: 85.67 kB / 1.135 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.8293, allocations: 85.09 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.8294, allocations: 48.22 kB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.8294, allocations: 0 / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0009498/0.8304, allocations: 273.4 kB / 1.135 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.8304, allocations: 81.11 kB / 1.135 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.8306, allocations: 143.1 kB / 1.135 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.8306, allocations: 29.7 kB / 1.135 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.8308, allocations: 148 kB / 1.135 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.8309, allocations: 43.36 kB / 1.135 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.8309, allocations: 4 kB / 1.135 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.831, allocations: 318.8 kB / 1.136 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.8312, allocations: 80.81 kB / 1.136 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.8315, allocations: 158.2 kB / 1.136 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.832, allocations: 131.3 kB / 1.136 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.832, allocations: 0 / 1.136 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008079/0.8328, allocations: 285.2 kB / 1.136 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003505/0.8332, allocations: 0.9645 MB / 1.137 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8332, allocations: 4 kB / 1.137 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.8332, allocations: 4 kB / 1.137 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.8337, allocations: 47.95 kB / 1.137 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.8337, allocations: 8.875 kB / 1.137 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.834, allocations: 19.78 kB / 1.137 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.834, allocations: 15.98 kB / 1.137 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.8341, allocations: 4 kB / 1.137 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000657/0.8347, allocations: 216.5 kB / 1.138 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.8347, allocations: 4 kB / 1.138 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.8348, allocations: 4 kB / 1.138 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.8351, allocations: 47.91 kB / 1.138 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8352, allocations: 4 kB / 1.138 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.8354, allocations: 11.91 kB / 1.138 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.8354, allocations: 14.42 kB / 1.138 GB, free: 9.141 MB / 0.7448 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 0.0001008/0.8356, allocations: 120.6 kB / 1.138 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-05/0.8356, allocations: 15.81 kB / 1.138 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.8363, allocations: 217 kB / 1.138 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.8364, allocations: 8 kB / 1.138 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8364, allocations: 3.984 kB / 1.138 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8364, allocations: 0 / 1.138 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.8385, allocations: 1.046 MB / 1.139 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8385, allocations: 4.656 kB / 1.139 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.8388, allocations: 36.34 kB / 1.139 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/0.8388, allocations: 15.94 kB / 1.139 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.8389, allocations: 4 kB / 1.139 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.8389, allocations: 4 kB / 1.139 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.8389, allocations: 4 kB / 1.139 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007096/0.8396, allocations: 0.5239 MB / 1.14 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.8398, allocations: 116.8 kB / 1.14 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.8398, allocations: 4.562 kB / 1.14 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.8401, allocations: 11.98 kB / 1.14 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.8402, allocations: 21.45 kB / 1.14 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.8402, allocations: 8 kB / 1.14 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001352/0.8404, allocations: 126.1 kB / 1.14 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006645/0.8411, allocations: 75.98 kB / 1.14 GB, free: 6.504 MB / 0.7448 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.0001772/0.8412, allocations: 120.1 kB / 1.14 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.842, allocations: 311.9 kB / 1.14 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.842, allocations: 4.125 kB / 1.14 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.8422, allocations: 87.83 kB / 1.14 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.8426, allocations: 31.64 kB / 1.141 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.8437, allocations: 372.3 kB / 1.141 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.8442, allocations: 0.7779 MB / 1.142 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.8442, allocations: 3.938 kB / 1.142 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of Templates: time 0.008414/0.8527, allocations: 2.684 MB / 1.144 GB, free: 2.105 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)