Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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 7.0.3-maint.7.0.x/package.mo): time 1.235/1.235, allocations: 249.4 MB / 256.7 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 192 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.155/1.155, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008864, allocations: 96.23 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3583/0.3592, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.5305, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5627/1.093, allocations: 203.6 MB / 1.083 GB, free: 2.324 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.094, allocations: 94.69 kB / 1.084 GB, free: 2.273 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.1968/1.29, allocations: 86.65 MB / 1.168 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.29, allocations: 8 kB / 1.168 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/1.302, allocations: 1.601 MB / 1.17 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005748/1.308, allocations: 2.098 MB / 1.172 GB, free: 296 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/1.308, allocations: 36 kB / 1.172 GB, free: 260 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/1.308, allocations: 75.92 kB / 1.172 GB, free: 184 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002969/1.311, allocations: 1.707 MB / 1.174 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/1.314, allocations: 2.096 MB / 1.176 GB, free: 12.19 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/1.314, allocations: 11.84 kB / 1.176 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.314, allocations: 4 kB / 1.176 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/1.315, allocations: 94.27 kB / 1.176 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/1.331, allocations: 10.33 MB / 1.186 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/1.334, allocations: 1.435 MB / 1.187 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/1.335, allocations: 0.9017 MB / 1.188 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/1.335, allocations: 20.77 kB / 1.188 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/1.335, allocations: 43.34 kB / 1.188 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.887e-06/1.335, allocations: 0 / 1.188 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01773/1.353, allocations: 6.994 MB / 1.195 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/1.353, allocations: 226.9 kB / 1.195 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/1.354, allocations: 0.8013 MB / 1.196 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002216/1.354, allocations: 29.7 kB / 1.196 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/1.355, allocations: 0.5277 MB / 1.196 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/1.355, allocations: 0.4926 MB / 1.197 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.355, allocations: 0 / 1.197 GB, free: 5.551 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.356, allocations: 365.9 kB / 1.197 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/1.357, allocations: 1.14 MB / 1.198 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/1.359, allocations: 1.407 MB / 1.2 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/1.361, allocations: 1.307 MB / 1.201 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.361, allocations: 7.906 kB / 1.201 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01119/1.372, allocations: 4.518 MB / 1.206 GB, free: 12.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.372, allocations: 7.984 kB / 1.206 GB, free: 12.65 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/1.372, allocations: 12.73 kB / 1.206 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009058/1.381, allocations: 2.085 MB / 1.208 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/1.383, allocations: 347.4 kB / 1.208 GB, free: 10.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02755/1.411, allocations: 20.88 MB / 1.228 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/1.414, allocations: 207.7 kB / 1.228 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/1.414, allocations: 67.95 kB / 1.229 GB, free: 4.125 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003789/1.414, allocations: 132.6 kB / 1.229 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004224/1.415, allocations: 162.1 kB / 1.229 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.426, allocations: 4.638 MB / 1.233 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.426, allocations: 19.94 kB / 1.233 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/1.426, allocations: 23.91 kB / 1.233 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.426, allocations: 7.969 kB / 1.233 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/1.44, allocations: 6.631 MB / 1.24 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.44, allocations: 4 kB / 1.24 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.442, allocations: 283.9 kB / 1.24 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00846/1.45, allocations: 1.94 MB / 1.242 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002869/1.451, allocations: 15.97 kB / 1.242 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3564/1.807, allocations: 19.99 MB / 1.262 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.807, allocations: 5.891 kB / 1.262 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008654/1.816, allocations: 4.353 MB / 1.266 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008599/1.825, allocations: 4.753 MB / 1.271 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.826, allocations: 0.496 MB / 1.271 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004856/1.826, allocations: 7.656 kB / 1.271 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/1.829, allocations: 207.6 kB / 1.271 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/1.829, allocations: 80.31 kB / 1.271 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/1.829, allocations: 52.72 kB / 1.271 GB, free: 204.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008095/1.83, allocations: 0.6152 MB / 1.272 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002799/1.833, allocations: 0.5857 MB / 1.272 GB, free: 204.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004077/1.833, allocations: 183 kB / 1.273 GB, free: 204.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00639/1.839, allocations: 4.042 MB / 1.277 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.839, allocations: 0 / 1.277 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004592/1.844, allocations: 2.641 MB / 1.279 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/1.846, allocations: 419.2 kB / 1.28 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006664/1.853, allocations: 3.238 MB / 1.283 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.854, allocations: 1.624 MB / 1.284 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/1.854, allocations: 0 / 1.284 GB, free: 201.3 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)