Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.364/1.364, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009151/0.0009152, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.041/1.041, allocations: 205.2 MB / 0.6256 GB, free: 5.801 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.0008122/0.0008119, allocations: 88.14 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1991/0.1999, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.6361, allocations: 116.3 MB / 0.9727 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.7968, allocations: 162.5 MB / 1.131 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.7971, allocations: 97.52 kB / 1.131 GB, free: 1.809 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.1921/0.9892, allocations: 86.98 MB / 1.216 GB, free: 9.891 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.9893, allocations: 15.98 kB / 1.216 GB, free: 9.875 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.9939, allocations: 0.6104 MB / 1.217 GB, free: 9.262 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.9956, allocations: 0.8959 MB / 1.218 GB, free: 8.324 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.9956, allocations: 43.94 kB / 1.218 GB, free: 8.281 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.9959, allocations: 75.91 kB / 1.218 GB, free: 8.207 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002228/0.9981, allocations: 1.395 MB / 1.219 GB, free: 6.809 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/1.001, allocations: 2.156 MB / 1.221 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/1.001, allocations: 19.88 kB / 1.221 GB, free: 4.336 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.001, allocations: 12 kB / 1.221 GB, free: 4.324 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/1.001, allocations: 150.3 kB / 1.222 GB, free: 4.176 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/1.012, allocations: 12.24 MB / 1.234 GB, free: 7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/1.014, allocations: 1.488 MB / 1.235 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/1.014, allocations: 0.6012 MB / 1.236 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/1.015, allocations: 94.09 kB / 1.236 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.015, allocations: 43.56 kB / 1.236 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 2.935e-06/1.015, allocations: 4 kB / 1.236 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.004527/1.019, allocations: 2.468 MB / 1.238 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/1.019, allocations: 60.41 kB / 1.238 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/1.02, allocations: 0.6561 MB / 1.239 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/1.02, allocations: 25.7 kB / 1.239 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/1.02, allocations: 0.6065 MB / 1.239 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/1.021, allocations: 366.5 kB / 1.24 GB, free: 500 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/1.021, allocations: 4 kB / 1.24 GB, free: 496 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.021, allocations: 365.9 kB / 1.24 GB, free: 124 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2369/1.258, allocations: 0.5828 MB / 1.241 GB, free: 277.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/1.259, allocations: 1.007 MB / 1.242 GB, free: 276.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.26, allocations: 0.8686 MB / 1.243 GB, free: 276.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.26, allocations: 9.781 kB / 1.243 GB, free: 276.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003003/1.263, allocations: 2.036 MB / 1.245 GB, free: 276.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.263, allocations: 3.562 kB / 1.245 GB, free: 276.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.263, allocations: 17.94 kB / 1.245 GB, free: 276.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/1.264, allocations: 262.6 kB / 1.245 GB, free: 276.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/1.265, allocations: 332.8 kB / 1.245 GB, free: 276.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/1.27, allocations: 10.28 MB / 1.255 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.271, allocations: 62.8 kB / 1.255 GB, free: 267 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.272, allocations: 70.33 kB / 1.255 GB, free: 267 MB / 0.8386 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.0002406/1.272, allocations: 146.1 kB / 1.255 GB, free: 266.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/1.272, allocations: 121.8 kB / 1.256 GB, free: 266.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002799/1.275, allocations: 1.7 MB / 1.257 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.275, allocations: 16.16 kB / 1.257 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.275, allocations: 0 / 1.257 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.275, allocations: 13.77 kB / 1.257 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/1.279, allocations: 3.119 MB / 1.26 GB, free: 266.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/1.279, allocations: 8.141 kB / 1.26 GB, free: 266.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/1.28, allocations: 195.8 kB / 1.261 GB, free: 266.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006389/1.28, allocations: 241 kB / 1.261 GB, free: 266.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/1.281, allocations: 12.44 kB / 1.261 GB, free: 266.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/1.286, allocations: 10.26 MB / 1.271 GB, free: 256.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.286, allocations: 10.38 kB / 1.271 GB, free: 256.7 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002334/1.288, allocations: 2.081 MB / 1.273 GB, free: 255.8 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002427/1.29, allocations: 2.502 MB / 1.275 GB, free: 254.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/1.291, allocations: 311.4 kB / 1.276 GB, free: 254.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/1.291, allocations: 4.875 kB / 1.276 GB, free: 254.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/1.292, allocations: 51.3 kB / 1.276 GB, free: 254.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.292, allocations: 69.05 kB / 1.276 GB, free: 254.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/1.292, allocations: 36.11 kB / 1.276 GB, free: 254.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004798/1.292, allocations: 0.4938 MB / 1.276 GB, free: 254.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001761/1.294, allocations: 355 kB / 1.277 GB, free: 254.3 MB / 0.8386 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.0001866/1.294, allocations: 134.5 kB / 1.277 GB, free: 254.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002324/1.297, allocations: 2.319 MB / 1.279 GB, free: 253.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.297, allocations: 0 / 1.279 GB, free: 253.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/1.298, allocations: 1.531 MB / 1.28 GB, free: 252.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/1.299, allocations: 273.6 kB / 1.281 GB, free: 252.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/1.302, allocations: 2.151 MB / 1.283 GB, free: 252 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009574/1.303, allocations: 1.456 MB / 1.284 GB, free: 251.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.303, allocations: 0 / 1.284 GB, free: 251.3 MB / 0.8386 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)