Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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 8.0.1-maint.8.0.x/package.mo): time 1.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 187.3 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9944/0.9944, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007777/0.0007778, allocations: 93.92 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1698/0.1706, allocations: 121.4 MB / 0.8512 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.5805, allocations: 115.3 MB / 0.9638 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.7262, allocations: 159.2 MB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.7265, allocations: 88.64 kB / 1.119 GB, free: 12.75 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.03054/0.757, allocations: 14.17 MB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7571, allocations: 12.5 kB / 1.133 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.7577, allocations: 79.62 kB / 1.133 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.758, allocations: 230.7 kB / 1.133 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.758, allocations: 7.938 kB / 1.133 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.7581, allocations: 9.219 kB / 1.133 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003084/0.7584, allocations: 192.6 kB / 1.134 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.7588, allocations: 295.5 kB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.7588, allocations: 0 / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.7588, allocations: 11.92 kB / 1.134 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.7589, allocations: 23.98 kB / 1.134 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.7603, allocations: 1.576 MB / 1.135 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.7605, allocations: 181.1 kB / 1.136 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.7606, allocations: 81.69 kB / 1.136 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.7608, allocations: 89.09 kB / 1.136 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.7608, allocations: 42.41 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.7608, allocations: 0.9375 kB / 1.136 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006299/0.7614, allocations: 272.8 kB / 1.136 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.7615, allocations: 89.03 kB / 1.136 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.7616, allocations: 141.3 kB / 1.136 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.7616, allocations: 25.7 kB / 1.136 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.7617, allocations: 148 kB / 1.137 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.7617, allocations: 47.34 kB / 1.137 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.7618, allocations: 0 / 1.137 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7619, allocations: 326.8 kB / 1.137 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.762, allocations: 75.97 kB / 1.137 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.7621, allocations: 156.4 kB / 1.137 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.7624, allocations: 127.9 kB / 1.137 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.7624, allocations: 0 / 1.137 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004422/0.7628, allocations: 287.8 kB / 1.137 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.7631, allocations: 0.964 MB / 1.138 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7631, allocations: 4 kB / 1.138 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.7631, allocations: 4 kB / 1.138 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.7634, allocations: 51.91 kB / 1.138 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.7634, allocations: 5.562 kB / 1.138 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.7636, allocations: 15.83 kB / 1.139 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.7636, allocations: 14.12 kB / 1.139 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.402e-06/0.7636, allocations: 11.31 kB / 1.139 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003606/0.764, allocations: 215.7 kB / 1.139 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.764, allocations: 4 kB / 1.139 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.319e-06/0.764, allocations: 4 kB / 1.139 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.7642, allocations: 51.91 kB / 1.139 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7642, allocations: 7.938 kB / 1.139 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.7643, allocations: 11.89 kB / 1.139 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.7643, allocations: 8 kB / 1.139 GB, free: 8.27 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 7.184e-05/0.7644, allocations: 109.3 kB / 1.139 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.7644, allocations: 19.75 kB / 1.139 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.7648, allocations: 225.2 kB / 1.139 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7648, allocations: 0.75 kB / 1.139 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7649, allocations: 4 kB / 1.139 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7649, allocations: 4 kB / 1.139 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.766, allocations: 1.046 MB / 1.14 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.766, allocations: 7.906 kB / 1.14 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.7661, allocations: 31.92 kB / 1.14 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.7662, allocations: 4.438 kB / 1.14 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.7662, allocations: 8 kB / 1.14 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7662, allocations: 10.66 kB / 1.14 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7662, allocations: 7.938 kB / 1.14 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004401/0.7666, allocations: 0.5278 MB / 1.141 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005012/0.7672, allocations: 0.9021 MB / 1.142 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.7673, allocations: 112.9 kB / 1.142 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.7673, allocations: 7.984 kB / 1.142 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.7675, allocations: 4 kB / 1.142 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.7675, allocations: 25.02 kB / 1.142 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.7675, allocations: 8 kB / 1.142 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.017e-05/0.7676, allocations: 126.1 kB / 1.142 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001512/0.7691, allocations: 79.94 kB / 1.142 GB, free: 4.594 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.0001285/0.7692, allocations: 134.9 kB / 1.142 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.7696, allocations: 308.8 kB / 1.142 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7696, allocations: 4.062 kB / 1.142 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.7697, allocations: 87.83 kB / 1.143 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.77, allocations: 31.81 kB / 1.143 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.7706, allocations: 376.3 kB / 1.143 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.771, allocations: 0.7774 MB / 1.144 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/0.771, allocations: 0 / 1.144 GB, free: 2.809 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)