Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001032/0.001032, allocations: 185.2 kB / 366.3 MB, free: 1.961 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.068/1.068, allocations: 205.2 MB / 0.6256 GB, free: 5.805 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.0008218/0.0008218, allocations: 79.98 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1962/0.197, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.6417, allocations: 116.3 MB / 0.9727 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.8089, allocations: 166.7 MB / 1.135 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.8092, allocations: 95.88 kB / 1.136 GB, free: 13.62 MB / 0.7448 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.6681/1.477, allocations: 167.3 MB / 1.299 GB, free: 184.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/1.477, allocations: 11.38 kB / 1.299 GB, free: 184.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006718/1.484, allocations: 1.044 MB / 1.3 GB, free: 184.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/1.489, allocations: 2.638 MB / 1.303 GB, free: 183.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.077e-05/1.489, allocations: 121.9 kB / 1.303 GB, free: 183.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005115/1.49, allocations: 213.3 kB / 1.303 GB, free: 183.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007676/1.497, allocations: 4.592 MB / 1.307 GB, free: 182.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007939/1.505, allocations: 6.254 MB / 1.313 GB, free: 180.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.598e-05/1.505, allocations: 10.56 kB / 1.313 GB, free: 180.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000362/1.506, allocations: 9.516 kB / 1.313 GB, free: 180.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006325/1.506, allocations: 407.3 kB / 1.314 GB, free: 180 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/1.536, allocations: 31.64 MB / 1.345 GB, free: 155.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/1.539, allocations: 2.095 MB / 1.347 GB, free: 154.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002261/1.541, allocations: 2.247 MB / 1.349 GB, free: 153.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.93e-05/1.541, allocations: 24.47 kB / 1.349 GB, free: 153.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/1.541, allocations: 55.16 kB / 1.349 GB, free: 153.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.818e-06/1.541, allocations: 0 / 1.349 GB, free: 153.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.05072/1.592, allocations: 21.57 MB / 1.37 GB, free: 133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/1.592, allocations: 81.41 kB / 1.37 GB, free: 132.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/1.593, allocations: 1.264 MB / 1.371 GB, free: 131.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004062/1.594, allocations: 31.05 kB / 1.371 GB, free: 131.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/1.594, allocations: 1.458 MB / 1.373 GB, free: 130.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/1.595, allocations: 0.8158 MB / 1.374 GB, free: 129.3 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/1.595, allocations: 0 / 1.374 GB, free: 129.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/1.595, allocations: 411.1 kB / 1.374 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/1.598, allocations: 2.871 MB / 1.377 GB, free: 126 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/1.601, allocations: 3.393 MB / 1.38 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/1.606, allocations: 3.612 MB / 1.384 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.606, allocations: 4 kB / 1.384 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02057/1.626, allocations: 12.41 MB / 1.396 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.626, allocations: 7.906 kB / 1.396 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/1.626, allocations: 16 kB / 1.396 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02134/1.648, allocations: 7.968 MB / 1.404 GB, free: 98.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.649, allocations: 275.5 kB / 1.404 GB, free: 98.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04328/1.692, allocations: 30.91 MB / 1.434 GB, free: 66.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.695, allocations: 90.77 kB / 1.434 GB, free: 66.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007576/1.696, allocations: 267.8 kB / 1.434 GB, free: 66.49 MB / 0.8386 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.0009212/1.696, allocations: 150.1 kB / 1.435 GB, free: 66.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/1.697, allocations: 233.2 kB / 1.435 GB, free: 66.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0217/1.719, allocations: 12.65 MB / 1.447 GB, free: 53.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-05/1.719, allocations: 24 kB / 1.447 GB, free: 53.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/1.719, allocations: 24 kB / 1.447 GB, free: 53.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.337e-05/1.719, allocations: 15.56 kB / 1.447 GB, free: 53.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02874/1.748, allocations: 18.11 MB / 1.465 GB, free: 35.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.748, allocations: 4 kB / 1.465 GB, free: 35.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/1.749, allocations: 159.7 kB / 1.465 GB, free: 35.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02106/1.77, allocations: 7.886 MB / 1.473 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004165/1.77, allocations: 83.86 kB / 1.473 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04165/1.812, allocations: 30.45 MB / 1.503 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.812, allocations: 7.938 kB / 1.503 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02484/1.837, allocations: 12.68 MB / 1.515 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02475/1.862, allocations: 13.11 MB / 1.528 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/1.864, allocations: 0.986 MB / 1.529 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008699/1.865, allocations: 15.98 kB / 1.529 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/1.866, allocations: 75.83 kB / 1.529 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/1.867, allocations: 209.5 kB / 1.529 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004261/1.867, allocations: 239.7 kB / 1.529 GB, free: 392 kB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001361/1.869, allocations: 0.9543 MB / 1.53 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00401/1.873, allocations: 1.109 MB / 1.531 GB, free: 14.32 MB / 0.8855 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.0004093/1.873, allocations: 150.7 kB / 1.531 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01691/1.89, allocations: 9.372 MB / 1.541 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.89, allocations: 0 / 1.541 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01328/1.903, allocations: 5.967 MB / 1.546 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.906, allocations: 419.8 kB / 1.547 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.922, allocations: 7.478 MB / 1.554 GB, free: 6.762 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003464/1.925, allocations: 3.208 MB / 1.557 GB, free: 3.523 MB / 0.9011 GB Notification: Performance of SimCode: time 1.072e-06/1.925, allocations: 0 / 1.557 GB, free: 3.523 MB / 0.9011 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)