Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.315/1.315, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009087/0.0009087, allocations: 165.4 kB / 361.1 MB, free: 7.105 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.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0007434/0.0007434, allocations: 98.17 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1695/0.1702, allocations: 121.4 MB / 0.8512 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.5682, allocations: 115.3 MB / 0.9638 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.7173, allocations: 164.8 MB / 1.125 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.7176, allocations: 93.48 kB / 1.125 GB, free: 7.137 MB / 0.7292 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.2815/0.9991, allocations: 130.5 MB / 1.252 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.9991, allocations: 12.5 kB / 1.252 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005748/1.005, allocations: 0.9787 MB / 1.253 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/1.009, allocations: 2.272 MB / 1.255 GB, free: 244 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/1.009, allocations: 104 kB / 1.256 GB, free: 140 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.206/1.215, allocations: 187 kB / 1.256 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005954/1.221, allocations: 3.782 MB / 1.259 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00612/1.227, allocations: 5.285 MB / 1.265 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/1.227, allocations: 12.38 kB / 1.265 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/1.227, allocations: 11.44 kB / 1.265 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003847/1.228, allocations: 342.2 kB / 1.265 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/1.247, allocations: 28.71 MB / 1.293 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/1.249, allocations: 1.442 MB / 1.294 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/1.25, allocations: 1.503 MB / 1.296 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/1.25, allocations: 20.66 kB / 1.296 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/1.25, allocations: 48.64 kB / 1.296 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.045e-06/1.25, allocations: 3.562 kB / 1.296 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.02823/1.278, allocations: 13.38 MB / 1.309 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/1.278, allocations: 74.2 kB / 1.309 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009845/1.279, allocations: 1.051 MB / 1.31 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/1.279, allocations: 25.7 kB / 1.31 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/1.28, allocations: 1.307 MB / 1.311 GB, free: 251 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003425/1.28, allocations: 0.5889 MB / 1.312 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/1.28, allocations: 0 / 1.312 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/1.28, allocations: 382.5 kB / 1.312 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/1.282, allocations: 1.852 MB / 1.314 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/1.284, allocations: 2.35 MB / 1.316 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/1.287, allocations: 2.428 MB / 1.319 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.287, allocations: 7.656 kB / 1.319 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01159/1.299, allocations: 7.679 MB / 1.326 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.299, allocations: 9.562 kB / 1.326 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.299, allocations: 16.78 kB / 1.326 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/1.309, allocations: 4.121 MB / 1.33 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/1.31, allocations: 282.4 kB / 1.331 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/1.333, allocations: 19.34 MB / 1.349 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/1.335, allocations: 73.3 kB / 1.35 GB, free: 242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/1.335, allocations: 171.5 kB / 1.35 GB, free: 242 MB / 0.8542 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.0003724/1.336, allocations: 151.4 kB / 1.35 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/1.336, allocations: 187.2 kB / 1.35 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.348, allocations: 7.729 MB / 1.358 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/1.348, allocations: 20.36 kB / 1.358 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.349, allocations: 17.34 kB / 1.358 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.349, allocations: 6.656 kB / 1.358 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/1.366, allocations: 11.73 MB / 1.369 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.366, allocations: 5.688 kB / 1.369 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006171/1.367, allocations: 160.7 kB / 1.369 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01043/1.377, allocations: 4.037 MB / 1.373 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.377, allocations: 52.97 kB / 1.373 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/1.399, allocations: 18.92 MB / 1.392 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.399, allocations: 10.16 kB / 1.392 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01243/1.412, allocations: 7.922 MB / 1.399 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01221/1.424, allocations: 8.345 MB / 1.408 GB, free: 214.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.425, allocations: 0.6957 MB / 1.408 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/1.425, allocations: 9.828 kB / 1.408 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.427, allocations: 74.97 kB / 1.408 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003047/1.427, allocations: 136.6 kB / 1.408 GB, free: 213.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/1.427, allocations: 149.7 kB / 1.409 GB, free: 213.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008382/1.428, allocations: 0.7991 MB / 1.409 GB, free: 212.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002769/1.431, allocations: 0.8215 MB / 1.41 GB, free: 212 MB / 0.8542 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.0002864/1.431, allocations: 140.2 kB / 1.41 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008399/1.439, allocations: 5.833 MB / 1.416 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.439, allocations: 0 / 1.416 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005766/1.445, allocations: 3.579 MB / 1.42 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/1.447, allocations: 403.8 kB / 1.42 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/1.455, allocations: 5.726 MB / 1.426 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/1.458, allocations: 2.791 MB / 1.428 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/1.458, allocations: 0 / 1.428 GB, free: 195.9 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)