Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.208/2.208, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001583/0.001583, allocations: 181.3 kB / 360.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001212/0.001211, allocations: 85.78 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2488/0.25, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.7904, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/1.031, allocations: 161.4 MB / 1.12 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/1.031, allocations: 94 kB / 1.12 GB, free: 11.38 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.3552/1.386, allocations: 86.97 MB / 1.205 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.387, allocations: 12 kB / 1.205 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008198/1.395, allocations: 0.6152 MB / 1.206 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/1.398, allocations: 0.8925 MB / 1.207 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/1.398, allocations: 47.94 kB / 1.207 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/1.398, allocations: 75.91 kB / 1.207 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00436/1.403, allocations: 1.395 MB / 1.208 GB, free: 0.6914 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005689/1.408, allocations: 2.16 MB / 1.21 GB, free: 14.23 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.045e-05/1.408, allocations: 15.88 kB / 1.21 GB, free: 14.22 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/1.409, allocations: 8 kB / 1.21 GB, free: 14.21 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/1.409, allocations: 150.3 kB / 1.211 GB, free: 14.06 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/1.429, allocations: 12.25 MB / 1.223 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/1.432, allocations: 1.484 MB / 1.224 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/1.434, allocations: 0.5972 MB / 1.225 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/1.434, allocations: 106.1 kB / 1.225 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.434, allocations: 44.5 kB / 1.225 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 3.767e-06/1.434, allocations: 0 / 1.225 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.008205/1.442, allocations: 2.465 MB / 1.227 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.443, allocations: 60.41 kB / 1.227 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/1.444, allocations: 0.6522 MB / 1.228 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.214e-05/1.444, allocations: 29.7 kB / 1.228 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/1.445, allocations: 0.6104 MB / 1.228 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/1.445, allocations: 370.5 kB / 1.229 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/1.445, allocations: 0 / 1.229 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.445, allocations: 361.9 kB / 1.229 GB, free: 10 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/1.447, allocations: 0.5818 MB / 1.23 GB, free: 9.422 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/1.449, allocations: 1.009 MB / 1.231 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/1.452, allocations: 0.8693 MB / 1.232 GB, free: 7.348 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.452, allocations: 7.906 kB / 1.232 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006803/1.459, allocations: 2.043 MB / 1.234 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.459, allocations: 8 kB / 1.234 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/1.459, allocations: 12 kB / 1.234 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/1.46, allocations: 259.4 kB / 1.234 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.463, allocations: 331.5 kB / 1.234 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.475, allocations: 10.28 MB / 1.244 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.477, allocations: 59.92 kB / 1.244 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/1.478, allocations: 67.98 kB / 1.244 GB, free: 9.336 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.0003592/1.478, allocations: 154.5 kB / 1.244 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/1.478, allocations: 126.5 kB / 1.245 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006113/1.485, allocations: 1.694 MB / 1.246 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/1.485, allocations: 15.91 kB / 1.246 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.485, allocations: 4 kB / 1.246 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.485, allocations: 11.91 kB / 1.246 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009614/1.494, allocations: 3.119 MB / 1.249 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.494, allocations: 8.5 kB / 1.249 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.496, allocations: 199.7 kB / 1.25 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/1.498, allocations: 243.1 kB / 1.25 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/1.498, allocations: 11.98 kB / 1.25 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2942/1.792, allocations: 10.27 MB / 1.26 GB, free: 290 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.792, allocations: 11.22 kB / 1.26 GB, free: 290 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004586/1.797, allocations: 2.088 MB / 1.262 GB, free: 289.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004568/1.801, allocations: 2.489 MB / 1.264 GB, free: 288.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/1.802, allocations: 309.4 kB / 1.265 GB, free: 288 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/1.802, allocations: 13.11 kB / 1.265 GB, free: 288 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.804, allocations: 47.02 kB / 1.265 GB, free: 288 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/1.804, allocations: 74 kB / 1.265 GB, free: 288 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.804, allocations: 35.19 kB / 1.265 GB, free: 288 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008282/1.805, allocations: 0.4957 MB / 1.265 GB, free: 287.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002682/1.808, allocations: 349.1 kB / 1.266 GB, free: 287.9 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.0003039/1.808, allocations: 129.6 kB / 1.266 GB, free: 287.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004803/1.813, allocations: 2.322 MB / 1.268 GB, free: 287 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.813, allocations: 2.688 kB / 1.268 GB, free: 287 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002927/1.816, allocations: 1.522 MB / 1.269 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/1.818, allocations: 267.8 kB / 1.27 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006054/1.824, allocations: 2.163 MB / 1.272 GB, free: 285.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.826, allocations: 1.45 MB / 1.273 GB, free: 284.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.283e-06/1.826, allocations: 0 / 1.273 GB, free: 284.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)