Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.363/1.363, allocations: 289.8 MB / 297.1 MB, free: 12.73 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 174.9 kB / 366.3 MB, free: 12.02 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.053/1.053, allocations: 205.1 MB / 0.6256 GB, free: 2.129 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008043, allocations: 84.28 kB / 0.7395 GB, free: 46.96 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.199/0.1999, allocations: 122.4 MB / 0.8591 GB, free: 7.121 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.6465, allocations: 116.3 MB / 0.9727 GB, free: 81.52 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.8041, allocations: 165.8 MB / 1.135 GB, free: 10.11 MB / 0.7371 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.8043, allocations: 87.95 kB / 1.135 GB, free: 10.02 MB / 0.7371 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.628/1.432, allocations: 153.3 MB / 1.284 GB, free: 158.7 MB / 0.8621 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/1.432, allocations: 15.06 kB / 1.284 GB, free: 158.7 MB / 0.8621 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/1.437, allocations: 0.9742 MB / 1.285 GB, free: 158.5 MB / 0.8621 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/1.44, allocations: 2.286 MB / 1.288 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/1.44, allocations: 105.2 kB / 1.288 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/1.441, allocations: 184 kB / 1.288 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004404/1.445, allocations: 3.784 MB / 1.292 GB, free: 158 MB / 0.8621 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/1.451, allocations: 5.282 MB / 1.297 GB, free: 157.1 MB / 0.8621 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/1.451, allocations: 16.12 kB / 1.297 GB, free: 157.1 MB / 0.8621 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002859/1.451, allocations: 10.53 kB / 1.297 GB, free: 157.1 MB / 0.8621 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003744/1.452, allocations: 340.6 kB / 1.297 GB, free: 157.1 MB / 0.8621 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0226/1.474, allocations: 28.73 MB / 1.325 GB, free: 138.1 MB / 0.8621 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/1.476, allocations: 1.437 MB / 1.327 GB, free: 138.1 MB / 0.8621 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/1.477, allocations: 1.513 MB / 1.328 GB, free: 138 MB / 0.8621 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/1.477, allocations: 22.69 kB / 1.328 GB, free: 138 MB / 0.8621 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/1.477, allocations: 41.94 kB / 1.328 GB, free: 138 MB / 0.8621 GB Notification: Performance of pre-optimization done (n=110): time 2.976e-06/1.477, allocations: 0 / 1.328 GB, free: 138 MB / 0.8621 GB Notification: Performance of matching and sorting (n=179): time 0.02916/1.506, allocations: 13.38 MB / 1.341 GB, free: 137.1 MB / 0.8621 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/1.506, allocations: 70.97 kB / 1.341 GB, free: 137 MB / 0.8621 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.507, allocations: 1.05 MB / 1.342 GB, free: 136.9 MB / 0.8621 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.507, allocations: 25.7 kB / 1.342 GB, free: 136.8 MB / 0.8621 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/1.508, allocations: 1.306 MB / 1.344 GB, free: 136 MB / 0.8621 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/1.508, allocations: 0.5891 MB / 1.344 GB, free: 135.6 MB / 0.8621 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.508, allocations: 0 / 1.344 GB, free: 135.6 MB / 0.8621 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/1.508, allocations: 391.8 kB / 1.344 GB, free: 135.3 MB / 0.8621 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.51, allocations: 1.85 MB / 1.346 GB, free: 135.3 MB / 0.8621 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/1.512, allocations: 2.347 MB / 1.349 GB, free: 134.8 MB / 0.8621 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/1.515, allocations: 2.431 MB / 1.351 GB, free: 134.7 MB / 0.8621 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.515, allocations: 3.969 kB / 1.351 GB, free: 134.7 MB / 0.8621 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01293/1.528, allocations: 7.684 MB / 1.358 GB, free: 134.4 MB / 0.8621 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.528, allocations: 8.5 kB / 1.358 GB, free: 134.4 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.528, allocations: 14.69 kB / 1.358 GB, free: 134.4 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/1.539, allocations: 4.122 MB / 1.363 GB, free: 134.4 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/1.54, allocations: 274.4 kB / 1.363 GB, free: 134.4 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/1.564, allocations: 19.35 MB / 1.382 GB, free: 128.8 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/1.566, allocations: 71.25 kB / 1.382 GB, free: 128.8 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/1.566, allocations: 174 kB / 1.382 GB, free: 128.8 MB / 0.8621 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.0003862/1.566, allocations: 154.3 kB / 1.382 GB, free: 128.7 MB / 0.8621 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/1.567, allocations: 187.7 kB / 1.382 GB, free: 128.6 MB / 0.8621 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.58, allocations: 7.737 MB / 1.39 GB, free: 126.6 MB / 0.8621 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.58, allocations: 16 kB / 1.39 GB, free: 126.6 MB / 0.8621 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.58, allocations: 12 kB / 1.39 GB, free: 126.6 MB / 0.8621 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.58, allocations: 11.5 kB / 1.39 GB, free: 126.6 MB / 0.8621 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/1.597, allocations: 11.72 MB / 1.401 GB, free: 120.6 MB / 0.8621 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.597, allocations: 4 kB / 1.401 GB, free: 120.6 MB / 0.8621 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/1.598, allocations: 158.4 kB / 1.401 GB, free: 120.4 MB / 0.8621 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/1.609, allocations: 4.04 MB / 1.405 GB, free: 118.2 MB / 0.8621 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/1.609, allocations: 49.23 kB / 1.405 GB, free: 118.2 MB / 0.8621 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0231/1.632, allocations: 18.92 MB / 1.424 GB, free: 102.5 MB / 0.8621 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.632, allocations: 11.19 kB / 1.424 GB, free: 102.5 MB / 0.8621 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01191/1.644, allocations: 7.926 MB / 1.432 GB, free: 94.27 MB / 0.8621 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0117/1.656, allocations: 8.351 MB / 1.44 GB, free: 85.63 MB / 0.8621 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.657, allocations: 0.6938 MB / 1.44 GB, free: 84.91 MB / 0.8621 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005493/1.658, allocations: 8 kB / 1.44 GB, free: 84.91 MB / 0.8621 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.659, allocations: 74.2 kB / 1.441 GB, free: 84.84 MB / 0.8621 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.659, allocations: 140.2 kB / 1.441 GB, free: 84.7 MB / 0.8621 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.66, allocations: 147.9 kB / 1.441 GB, free: 84.55 MB / 0.8621 GB Notification: Performance of sort global known variables: time 0.0009941/1.661, allocations: 0.7956 MB / 1.442 GB, free: 83.76 MB / 0.8621 GB Notification: Performance of remove unused functions: time 0.003383/1.664, allocations: 0.828 MB / 1.442 GB, free: 82.93 MB / 0.8621 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.0003865/1.664, allocations: 148.5 kB / 1.443 GB, free: 82.79 MB / 0.8621 GB Notification: Performance of simCode: created initialization part: time 0.008708/1.673, allocations: 5.818 MB / 1.448 GB, free: 77 MB / 0.8621 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.673, allocations: 4.188 kB / 1.448 GB, free: 77 MB / 0.8621 GB Notification: Performance of simCode: created simulation system equations: time 0.006404/1.68, allocations: 3.59 MB / 1.452 GB, free: 73.41 MB / 0.8621 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/1.682, allocations: 400.6 kB / 1.452 GB, free: 73.04 MB / 0.8621 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.694, allocations: 5.714 MB / 1.458 GB, free: 67.2 MB / 0.8621 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002683/1.696, allocations: 2.795 MB / 1.46 GB, free: 64.37 MB / 0.8621 GB Notification: Performance of SimCode: time 7.61e-07/1.696, allocations: 0 / 1.46 GB, free: 64.37 MB / 0.8621 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)