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.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001076/0.001076, allocations: 184.8 kB / 316 MB, free: 3.551 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.096/1.096, allocations: 205.2 MB / 0.5667 GB, free: 15.64 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.0008276/0.0008276, allocations: 92.41 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3088/0.3097, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.4558, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.9232, allocations: 160.4 MB / 1.041 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.9235, allocations: 100.5 kB / 1.041 GB, free: 11.82 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.3291/1.253, allocations: 141.4 MB / 1.179 GB, free: 8.031 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.253, allocations: 8 kB / 1.179 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0072/1.26, allocations: 1.036 MB / 1.18 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007099/1.267, allocations: 2.626 MB / 1.183 GB, free: 4.301 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/1.267, allocations: 116 kB / 1.183 GB, free: 4.188 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/1.269, allocations: 208 kB / 1.183 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01024/1.279, allocations: 4.599 MB / 1.188 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/1.293, allocations: 6.249 MB / 1.194 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.293, allocations: 15.78 kB / 1.194 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007727/1.294, allocations: 15.98 kB / 1.194 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007121/1.295, allocations: 407.2 kB / 1.194 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03844/1.333, allocations: 31.64 MB / 1.225 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/1.336, allocations: 2.107 MB / 1.227 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/1.339, allocations: 2.248 MB / 1.229 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/1.339, allocations: 21.3 kB / 1.23 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/1.339, allocations: 47.88 kB / 1.23 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.536e-06/1.339, allocations: 4 kB / 1.23 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.05975/1.399, allocations: 21.61 MB / 1.251 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/1.399, allocations: 81.41 kB / 1.251 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/1.401, allocations: 1.257 MB / 1.252 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004842/1.402, allocations: 25.7 kB / 1.252 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007829/1.402, allocations: 1.462 MB / 1.253 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.404, allocations: 0.8158 MB / 1.254 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/1.404, allocations: 0 / 1.254 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.404, allocations: 411.1 kB / 1.255 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/1.408, allocations: 2.867 MB / 1.257 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00418/1.412, allocations: 3.397 MB / 1.261 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2672/1.679, allocations: 3.606 MB / 1.264 GB, free: 337.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/1.679, allocations: 4 kB / 1.264 GB, free: 337.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02194/1.701, allocations: 12.42 MB / 1.276 GB, free: 337.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.701, allocations: 7.297 kB / 1.276 GB, free: 337.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/1.701, allocations: 18.06 kB / 1.276 GB, free: 337.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02169/1.723, allocations: 7.958 MB / 1.284 GB, free: 337.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.724, allocations: 286.1 kB / 1.284 GB, free: 337.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04261/1.767, allocations: 30.89 MB / 1.315 GB, free: 331.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/1.77, allocations: 87.34 kB / 1.315 GB, free: 331.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006041/1.771, allocations: 265.8 kB / 1.315 GB, free: 331.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006011/1.771, allocations: 145.2 kB / 1.315 GB, free: 331.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005612/1.772, allocations: 235.5 kB / 1.315 GB, free: 331.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02173/1.794, allocations: 12.64 MB / 1.328 GB, free: 331 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/1.794, allocations: 25.39 kB / 1.328 GB, free: 331 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.235e-05/1.794, allocations: 24.44 kB / 1.328 GB, free: 331 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/1.794, allocations: 14.7 kB / 1.328 GB, free: 331 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03024/1.824, allocations: 18.12 MB / 1.345 GB, free: 325.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.824, allocations: 6.875 kB / 1.345 GB, free: 325.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/1.825, allocations: 156 kB / 1.346 GB, free: 325.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02432/1.849, allocations: 7.888 MB / 1.353 GB, free: 324.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000669/1.85, allocations: 83.91 kB / 1.353 GB, free: 324.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04281/1.893, allocations: 30.44 MB / 1.383 GB, free: 300 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.893, allocations: 10.44 kB / 1.383 GB, free: 299.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02082/1.914, allocations: 12.69 MB / 1.395 GB, free: 289.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02308/1.937, allocations: 13.11 MB / 1.408 GB, free: 279.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/1.939, allocations: 0.9938 MB / 1.409 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006369/1.939, allocations: 12 kB / 1.409 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.941, allocations: 83.05 kB / 1.409 GB, free: 278 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/1.942, allocations: 202.9 kB / 1.41 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003642/1.942, allocations: 239.8 kB / 1.41 GB, free: 277.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001156/1.943, allocations: 0.9465 MB / 1.411 GB, free: 276.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003994/1.947, allocations: 1.11 MB / 1.412 GB, free: 275.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004479/1.948, allocations: 149.6 kB / 1.412 GB, free: 275.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.963, allocations: 9.368 MB / 1.421 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.963, allocations: 0 / 1.421 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/1.975, allocations: 5.975 MB / 1.427 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/1.977, allocations: 415.6 kB / 1.427 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/1.991, allocations: 7.47 MB / 1.435 GB, free: 252.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002957/1.994, allocations: 3.209 MB / 1.438 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.202e-06/1.994, allocations: 0 / 1.438 GB, free: 248.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)