Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.297/1.297, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009423/0.0009423, allocations: 177.3 kB / 361.1 MB, free: 7.117 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.9987/0.9987, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007244/0.0007245, allocations: 75.39 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.1758, allocations: 121.5 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.583, allocations: 115.3 MB / 0.9638 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.7309, allocations: 161.6 MB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.7311, allocations: 90.52 kB / 1.122 GB, free: 10.3 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.1886/0.9197, allocations: 86.97 MB / 1.207 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.9198, allocations: 8 kB / 1.207 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.9243, allocations: 0.6154 MB / 1.207 GB, free: 2.102 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.926, allocations: 0.8959 MB / 1.208 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.9261, allocations: 40 kB / 1.208 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/0.9263, allocations: 87.83 kB / 1.208 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002108/0.9284, allocations: 1.395 MB / 1.21 GB, free: 15.64 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.9312, allocations: 2.156 MB / 1.212 GB, free: 13.19 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.9312, allocations: 11.88 kB / 1.212 GB, free: 13.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.9313, allocations: 8 kB / 1.212 GB, free: 13.17 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.9315, allocations: 154.3 kB / 1.212 GB, free: 13.02 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009861/0.9413, allocations: 12.25 MB / 1.224 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.9431, allocations: 1.477 MB / 1.225 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.9438, allocations: 0.6019 MB / 1.226 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.944, allocations: 106.1 kB / 1.226 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.944, allocations: 43.56 kB / 1.226 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 2.405e-06/0.944, allocations: 0 / 1.226 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.004035/0.9481, allocations: 2.461 MB / 1.228 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.9481, allocations: 64.41 kB / 1.228 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/0.9488, allocations: 0.66 MB / 1.229 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.9488, allocations: 29.7 kB / 1.229 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.9491, allocations: 0.6065 MB / 1.23 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.9494, allocations: 362.6 kB / 1.23 GB, free: 9.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.9494, allocations: 4 kB / 1.23 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9495, allocations: 361.9 kB / 1.23 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.9503, allocations: 0.5818 MB / 1.231 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.9512, allocations: 1.013 MB / 1.232 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.9528, allocations: 0.8693 MB / 1.233 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.9528, allocations: 7.906 kB / 1.233 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003321/0.9562, allocations: 2.039 MB / 1.235 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.9562, allocations: 4.938 kB / 1.235 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.9562, allocations: 16 kB / 1.235 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.9569, allocations: 258.7 kB / 1.235 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.9581, allocations: 336.3 kB / 1.235 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/0.9647, allocations: 10.28 MB / 1.245 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008674/0.9656, allocations: 55.94 kB / 1.245 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.9657, allocations: 72.14 kB / 1.245 GB, free: 8.281 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.9659, allocations: 146 kB / 1.246 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.966, allocations: 126.5 kB / 1.246 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.9687, allocations: 1.696 MB / 1.247 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.9688, allocations: 15.91 kB / 1.247 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.9688, allocations: 3.938 kB / 1.247 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.9688, allocations: 3.984 kB / 1.247 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.9733, allocations: 3.123 MB / 1.25 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.9733, allocations: 4 kB / 1.25 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.9741, allocations: 203.7 kB / 1.251 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006441/0.9748, allocations: 243.3 kB / 1.251 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.9748, allocations: 8 kB / 1.251 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2163/1.191, allocations: 10.26 MB / 1.261 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.191, allocations: 11.25 kB / 1.261 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002509/1.194, allocations: 2.081 MB / 1.263 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002392/1.196, allocations: 2.491 MB / 1.265 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/1.197, allocations: 320.7 kB / 1.266 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.197, allocations: 9.969 kB / 1.266 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/1.197, allocations: 50.55 kB / 1.266 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.198, allocations: 69.2 kB / 1.266 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/1.198, allocations: 35.22 kB / 1.266 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0004696/1.198, allocations: 0.4916 MB / 1.266 GB, free: 280 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001683/1.2, allocations: 352.2 kB / 1.267 GB, free: 280 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/1.2, allocations: 132.7 kB / 1.267 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002317/1.202, allocations: 2.315 MB / 1.269 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.202, allocations: 3.438 kB / 1.269 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/1.204, allocations: 1.537 MB / 1.271 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.205, allocations: 262.6 kB / 1.271 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/1.208, allocations: 2.163 MB / 1.273 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000936/1.209, allocations: 1.445 MB / 1.274 GB, free: 277 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.209, allocations: 2.969 kB / 1.274 GB, free: 277 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)