Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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 10.0.0-master/package.mo): time 1.811/1.811, allocations: 390.4 MB / 397.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009235/0.0009238, allocations: 177.2 kB / 490.8 MB, free: 6.477 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 221.3 MB / 0.7863 GB, free: 1.852 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 87.31 kB / 0.9264 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 0.4321/0.433, allocations: 149.1 MB / 1.072 GB, free: 186.4 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.6178, allocations: 143 MB / 1.212 GB, free: 43.91 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5324/1.15, allocations: 177.2 MB / 1.385 GB, free: 17.8 MB / 0.8262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/1.151, allocations: 92.08 kB / 1.385 GB, free: 17.8 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.3486/1.499, allocations: 163.3 MB / 1.544 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.499, allocations: 8 kB / 1.544 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/1.505, allocations: 0.9826 MB / 1.545 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/1.509, allocations: 2.283 MB / 1.547 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/1.509, allocations: 108 kB / 1.548 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004187/1.509, allocations: 187.9 kB / 1.548 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005912/1.515, allocations: 3.778 MB / 1.551 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/1.523, allocations: 5.285 MB / 1.557 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/1.523, allocations: 15.88 kB / 1.557 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/1.523, allocations: 8 kB / 1.557 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004976/1.524, allocations: 342.2 kB / 1.557 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02803/1.552, allocations: 28.73 MB / 1.585 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/1.553, allocations: 1.43 MB / 1.586 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.555, allocations: 1.507 MB / 1.588 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/1.555, allocations: 16.98 kB / 1.588 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.555, allocations: 47.5 kB / 1.588 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.006e-06/1.555, allocations: 3.938 kB / 1.588 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=179): time 0.0334/1.588, allocations: 13.38 MB / 1.601 GB, free: 12.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.589, allocations: 73.41 kB / 1.601 GB, free: 12.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/1.59, allocations: 1.05 MB / 1.602 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/1.59, allocations: 25.7 kB / 1.602 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000657/1.591, allocations: 1.304 MB / 1.603 GB, free: 9.836 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/1.591, allocations: 0.5889 MB / 1.604 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/1.591, allocations: 0 / 1.604 GB, free: 9.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.592, allocations: 385.9 kB / 1.604 GB, free: 8.855 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/1.594, allocations: 1.854 MB / 1.606 GB, free: 7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/1.596, allocations: 2.342 MB / 1.608 GB, free: 4.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/1.6, allocations: 2.434 MB / 1.611 GB, free: 2.004 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.6, allocations: 4 kB / 1.611 GB, free: 2 MB / 1.014 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01397/1.614, allocations: 7.685 MB / 1.618 GB, free: 10.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.614, allocations: 4.219 kB / 1.618 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.614, allocations: 23.94 kB / 1.618 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/1.626, allocations: 4.107 MB / 1.622 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.627, allocations: 275.5 kB / 1.623 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02806/1.656, allocations: 19.36 MB / 1.642 GB, free: 2.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.657, allocations: 67.88 kB / 1.642 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/1.658, allocations: 179.9 kB / 1.642 GB, free: 1.824 MB / 1.045 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 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004025/1.658, allocations: 148.5 kB / 1.642 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/1.658, allocations: 189.8 kB / 1.642 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.673, allocations: 7.731 MB / 1.65 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.673, allocations: 20 kB / 1.65 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.673, allocations: 15.94 kB / 1.65 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.673, allocations: 11.95 kB / 1.65 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/1.693, allocations: 11.71 MB / 1.661 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.693, allocations: 11.91 kB / 1.661 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/1.693, allocations: 159.7 kB / 1.661 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01181/1.705, allocations: 4.032 MB / 1.665 GB, free: 9.551 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/1.705, allocations: 47.92 kB / 1.665 GB, free: 9.504 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/1.733, allocations: 18.94 MB / 1.684 GB, free: 6.125 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.733, allocations: 8 kB / 1.684 GB, free: 6.117 MB / 1.092 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01385/1.747, allocations: 7.926 MB / 1.692 GB, free: 13.87 MB / 1.107 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01406/1.761, allocations: 8.347 MB / 1.7 GB, free: 5.211 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.762, allocations: 0.6938 MB / 1.7 GB, free: 4.496 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.763, allocations: 11.98 kB / 1.7 GB, free: 4.484 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.764, allocations: 67.78 kB / 1.7 GB, free: 4.418 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.764, allocations: 144.9 kB / 1.701 GB, free: 4.273 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002811/1.764, allocations: 148 kB / 1.701 GB, free: 4.129 MB / 1.107 GB Notification: Performance of sort global known variables: time 0.001026/1.765, allocations: 0.7994 MB / 1.701 GB, free: 3.332 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003046/1.768, allocations: 0.8318 MB / 1.702 GB, free: 2.5 MB / 1.107 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 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003284/1.769, allocations: 151.4 kB / 1.702 GB, free: 2.344 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009745/1.779, allocations: 5.814 MB / 1.708 GB, free: 12.5 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.779, allocations: 0 / 1.708 GB, free: 12.5 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006922/1.785, allocations: 3.596 MB / 1.712 GB, free: 8.871 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.787, allocations: 405.3 kB / 1.712 GB, free: 8.473 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/1.798, allocations: 5.716 MB / 1.718 GB, free: 2.617 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002894/1.801, allocations: 2.789 MB / 1.72 GB, free: 15.8 MB / 1.139 GB Notification: Performance of SimCode: time 4.71e-07/1.801, allocations: 4 kB / 1.72 GB, free: 15.79 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)