Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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_N,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.82/1.82, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000947/0.000947, allocations: 181.2 kB / 490.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.125/1.125, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000841/0.000841, allocations: 95.14 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4224/0.4232, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.6082, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.527/1.135, allocations: 178.1 MB / 1.386 GB, free: 16.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/1.135, allocations: 92.56 kB / 1.386 GB, free: 16.13 MB / 0.823 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.3706/1.506, allocations: 177.3 MB / 1.559 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/1.506, allocations: 12 kB / 1.559 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005359/1.512, allocations: 1.044 MB / 1.56 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/1.516, allocations: 2.637 MB / 1.562 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/1.516, allocations: 120 kB / 1.563 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004834/1.516, allocations: 215.8 kB / 1.563 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006385/1.523, allocations: 4.588 MB / 1.567 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008124/1.531, allocations: 6.253 MB / 1.573 GB, free: 4.457 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.581e-05/1.531, allocations: 15.88 kB / 1.573 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/1.531, allocations: 8 kB / 1.573 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006006/1.532, allocations: 407.2 kB / 1.574 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03226/1.564, allocations: 31.64 MB / 1.605 GB, free: 1.641 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/1.566, allocations: 2.095 MB / 1.607 GB, free: 15.54 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002539/1.569, allocations: 2.251 MB / 1.609 GB, free: 13.28 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 7.763e-05/1.569, allocations: 25.28 kB / 1.609 GB, free: 13.25 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.569, allocations: 47.88 kB / 1.609 GB, free: 13.2 MB / 1.026 GB Notification: Performance of pre-optimization done (n=146): time 4.358e-06/1.569, allocations: 4 kB / 1.609 GB, free: 13.19 MB / 1.026 GB Notification: Performance of matching and sorting (n=251): time 0.05559/1.625, allocations: 21.58 MB / 1.63 GB, free: 7.562 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.625, allocations: 81.41 kB / 1.63 GB, free: 7.469 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/1.627, allocations: 1.26 MB / 1.631 GB, free: 6.211 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003577/1.627, allocations: 25.7 kB / 1.631 GB, free: 6.18 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/1.628, allocations: 1.458 MB / 1.633 GB, free: 4.699 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007185/1.628, allocations: 0.8197 MB / 1.634 GB, free: 3.867 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/1.629, allocations: 0 / 1.634 GB, free: 3.867 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.629, allocations: 407.1 kB / 1.634 GB, free: 3.465 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/1.632, allocations: 2.867 MB / 1.637 GB, free: 0.5938 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00369/1.636, allocations: 3.393 MB / 1.64 GB, free: 12.98 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005299/1.641, allocations: 3.612 MB / 1.644 GB, free: 9.363 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.641, allocations: 4 kB / 1.644 GB, free: 9.359 MB / 1.057 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02297/1.664, allocations: 12.42 MB / 1.656 GB, free: 12.9 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.664, allocations: 8 kB / 1.656 GB, free: 12.89 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.664, allocations: 12 kB / 1.656 GB, free: 12.88 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02281/1.687, allocations: 7.963 MB / 1.664 GB, free: 4.891 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.688, allocations: 275.5 kB / 1.664 GB, free: 4.621 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04664/1.735, allocations: 30.91 MB / 1.694 GB, free: 5.27 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.737, allocations: 95.67 kB / 1.694 GB, free: 5.176 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004762/1.737, allocations: 267.8 kB / 1.694 GB, free: 4.914 MB / 1.104 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.0005223/1.738, allocations: 149.5 kB / 1.694 GB, free: 4.762 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/1.738, allocations: 233.2 kB / 1.695 GB, free: 4.531 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/1.762, allocations: 12.64 MB / 1.707 GB, free: 7.836 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/1.762, allocations: 28 kB / 1.707 GB, free: 7.809 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.762, allocations: 20 kB / 1.707 GB, free: 7.789 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/1.762, allocations: 11.95 kB / 1.707 GB, free: 7.777 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03098/1.793, allocations: 18.12 MB / 1.725 GB, free: 5.48 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.793, allocations: 8 kB / 1.725 GB, free: 5.473 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006719/1.794, allocations: 155.7 kB / 1.725 GB, free: 5.32 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02262/1.816, allocations: 7.885 MB / 1.733 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/1.817, allocations: 83.86 kB / 1.733 GB, free: 13.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3244/2.141, allocations: 30.44 MB / 1.762 GB, free: 451.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/2.141, allocations: 14.56 kB / 1.762 GB, free: 451.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02015/2.161, allocations: 12.69 MB / 1.775 GB, free: 450.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01992/2.181, allocations: 13.11 MB / 1.788 GB, free: 449.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/2.183, allocations: 0.9911 MB / 1.789 GB, free: 449.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005731/2.184, allocations: 11.09 kB / 1.789 GB, free: 449.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/2.185, allocations: 83.69 kB / 1.789 GB, free: 449.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/2.186, allocations: 200.5 kB / 1.789 GB, free: 449.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003755/2.186, allocations: 235.5 kB / 1.789 GB, free: 449.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001032/2.187, allocations: 0.9579 MB / 1.79 GB, free: 449.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003535/2.191, allocations: 1.113 MB / 1.791 GB, free: 449.2 MB / 1.151 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.0004138/2.191, allocations: 144.7 kB / 1.791 GB, free: 449.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01427/2.205, allocations: 9.374 MB / 1.8 GB, free: 448.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.205, allocations: 0 / 1.8 GB, free: 448.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/2.216, allocations: 5.968 MB / 1.806 GB, free: 448.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/2.218, allocations: 405.5 kB / 1.807 GB, free: 448.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/2.231, allocations: 7.477 MB / 1.814 GB, free: 446.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002632/2.234, allocations: 3.214 MB / 1.817 GB, free: 446.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/2.234, allocations: 6.188 kB / 1.817 GB, free: 446.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)