Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.267/1.267, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.0009421/0.0009421, allocations: 188.3 kB / 316 MB, free: 3.574 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.125/1.125, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0008396/0.0008396, allocations: 91.95 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3097/0.3106, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.4633, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.9415, allocations: 165.1 MB / 1.046 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.9418, allocations: 97.11 kB / 1.046 GB, free: 7.281 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.4611/1.403, allocations: 202.5 MB / 1.244 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/1.403, allocations: 12 kB / 1.244 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/1.41, allocations: 1.043 MB / 1.245 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009325/1.42, allocations: 3.414 MB / 1.248 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/1.42, allocations: 176 kB / 1.248 GB, free: 456 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/1.422, allocations: 323.9 kB / 1.249 GB, free: 132 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2695/1.692, allocations: 5.637 MB / 1.254 GB, free: 292.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/1.706, allocations: 7.865 MB / 1.262 GB, free: 291.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/1.706, allocations: 24.31 kB / 1.262 GB, free: 291.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005433/1.707, allocations: 15.56 kB / 1.262 GB, free: 291.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002689/1.707, allocations: 326.8 kB / 1.262 GB, free: 291.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03325/1.74, allocations: 39.13 MB / 1.3 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/1.742, allocations: 2.154 MB / 1.302 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/1.744, allocations: 1.933 MB / 1.304 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.19e-05/1.744, allocations: 27.06 kB / 1.304 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/1.744, allocations: 52.75 kB / 1.304 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 3.748e-06/1.744, allocations: 0 / 1.304 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.008782/1.753, allocations: 6.073 MB / 1.31 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/1.753, allocations: 72.31 kB / 1.31 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/1.755, allocations: 1.097 MB / 1.311 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/1.755, allocations: 25.7 kB / 1.311 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007991/1.756, allocations: 1.985 MB / 1.313 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003764/1.756, allocations: 0.6052 MB / 1.314 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/1.756, allocations: 0 / 1.314 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.756, allocations: 398.4 kB / 1.314 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/1.757, allocations: 1.177 MB / 1.316 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/1.759, allocations: 1.845 MB / 1.317 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/1.76, allocations: 1.536 MB / 1.319 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.761, allocations: 3.469 kB / 1.319 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006601/1.767, allocations: 4.419 MB / 1.323 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.767, allocations: 6.656 kB / 1.323 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.767, allocations: 22.22 kB / 1.323 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/1.771, allocations: 1.552 MB / 1.325 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.772, allocations: 334.1 kB / 1.325 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/1.789, allocations: 15.56 MB / 1.34 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.791, allocations: 56.5 kB / 1.34 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.791, allocations: 96.27 kB / 1.34 GB, free: 256.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003364/1.791, allocations: 163.8 kB / 1.34 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/1.792, allocations: 215 kB / 1.341 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/1.798, allocations: 4.076 MB / 1.345 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.798, allocations: 22.84 kB / 1.345 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/1.798, allocations: 18.06 kB / 1.345 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/1.798, allocations: 10.83 kB / 1.345 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/1.81, allocations: 8.078 MB / 1.353 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.81, allocations: 3.094 kB / 1.353 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/1.811, allocations: 156.2 kB / 1.353 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/1.814, allocations: 1.536 MB / 1.354 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.815, allocations: 3.469 kB / 1.354 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01634/1.831, allocations: 15.54 MB / 1.369 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.831, allocations: 3.562 kB / 1.369 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005732/1.837, allocations: 4.488 MB / 1.374 GB, free: 241.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005704/1.842, allocations: 4.909 MB / 1.379 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.844, allocations: 0.5201 MB / 1.379 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/1.844, allocations: 10.23 kB / 1.379 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008888/1.845, allocations: 35.89 kB / 1.379 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.845, allocations: 99.86 kB / 1.379 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/1.845, allocations: 49.28 kB / 1.379 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008881/1.846, allocations: 0.8071 MB / 1.38 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003273/1.849, allocations: 0.8952 MB / 1.381 GB, free: 238.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/1.849, allocations: 130.1 kB / 1.381 GB, free: 238 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005941/1.855, allocations: 4.003 MB / 1.385 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.855, allocations: 0 / 1.385 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.859, allocations: 2.507 MB / 1.387 GB, free: 235.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/1.862, allocations: 0.6036 MB / 1.388 GB, free: 235.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.876, allocations: 7.047 MB / 1.395 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004135/1.881, allocations: 3.699 MB / 1.399 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/1.881, allocations: 0 / 1.399 GB, free: 230.9 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)