Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.358/2.358, allocations: 248.6 MB / 255.9 MB, free: 7.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 182.8 kB / 315.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.1 MB / 0.5658 GB, free: 324 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002713/0.002712, allocations: 91.33 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4951/0.4978, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.7435, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7709/1.514, allocations: 160.2 MB / 1.04 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/1.515, allocations: 90 kB / 1.04 GB, free: 13.43 MB / 0.6667 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.6751/2.19, allocations: 141.4 MB / 1.178 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/2.19, allocations: 12 kB / 1.178 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/2.203, allocations: 1.048 MB / 1.179 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01226/2.215, allocations: 2.614 MB / 1.182 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005212/2.216, allocations: 123.9 kB / 1.182 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00308/2.219, allocations: 212 kB / 1.182 GB, free: 5.621 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01983/2.239, allocations: 4.596 MB / 1.186 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02587/2.265, allocations: 6.249 MB / 1.193 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/2.265, allocations: 19.84 kB / 1.193 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/2.267, allocations: 8 kB / 1.193 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001606/2.269, allocations: 407.2 kB / 1.193 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06749/2.336, allocations: 31.63 MB / 1.224 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005571/2.342, allocations: 2.103 MB / 1.226 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005869/2.348, allocations: 2.251 MB / 1.228 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/2.348, allocations: 29.28 kB / 1.228 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/2.348, allocations: 47.88 kB / 1.228 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 4.98e-06/2.348, allocations: 0 / 1.228 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.4909/2.839, allocations: 21.59 MB / 1.249 GB, free: 325.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/2.839, allocations: 78 kB / 1.249 GB, free: 325 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/2.842, allocations: 1.263 MB / 1.251 GB, free: 324.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008464/2.843, allocations: 25.7 kB / 1.251 GB, free: 324.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009054/2.844, allocations: 1.461 MB / 1.252 GB, free: 324.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/2.845, allocations: 0.8208 MB / 1.253 GB, free: 324.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/2.846, allocations: 0 / 1.253 GB, free: 324.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002052/2.846, allocations: 411.7 kB / 1.253 GB, free: 324.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006756/2.853, allocations: 2.866 MB / 1.256 GB, free: 324.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007458/2.86, allocations: 3.396 MB / 1.259 GB, free: 323.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/2.871, allocations: 3.61 MB / 1.263 GB, free: 323.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.684e-05/2.871, allocations: 3.875 kB / 1.263 GB, free: 323.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.05451/2.926, allocations: 12.42 MB / 1.275 GB, free: 323.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/2.926, allocations: 8.438 kB / 1.275 GB, free: 323.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/2.926, allocations: 21.67 kB / 1.275 GB, free: 323.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04798/2.974, allocations: 7.954 MB / 1.283 GB, free: 323.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/2.976, allocations: 281.4 kB / 1.283 GB, free: 323 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1034/3.08, allocations: 30.89 MB / 1.313 GB, free: 317 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/3.084, allocations: 86.41 kB / 1.313 GB, free: 317 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/3.085, allocations: 269.8 kB / 1.314 GB, free: 317 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 {(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.001021/3.086, allocations: 152.3 kB / 1.314 GB, free: 316.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009887/3.087, allocations: 235 kB / 1.314 GB, free: 316.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05348/3.141, allocations: 12.65 MB / 1.326 GB, free: 313.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-05/3.141, allocations: 25.81 kB / 1.326 GB, free: 313.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.821e-05/3.141, allocations: 21.09 kB / 1.326 GB, free: 313.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-05/3.141, allocations: 14.58 kB / 1.326 GB, free: 313.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07925/3.22, allocations: 18.11 MB / 1.344 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.814e-05/3.221, allocations: 6.406 kB / 1.344 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/3.223, allocations: 159.1 kB / 1.344 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05071/3.274, allocations: 7.881 MB / 1.352 GB, free: 302.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009259/3.275, allocations: 86.03 kB / 1.352 GB, free: 302.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1142/3.389, allocations: 30.45 MB / 1.382 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/3.389, allocations: 11.23 kB / 1.382 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05437/3.444, allocations: 12.68 MB / 1.394 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06058/3.504, allocations: 13.12 MB / 1.407 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003648/3.508, allocations: 0.9938 MB / 1.408 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/3.51, allocations: 8 kB / 1.408 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004337/3.514, allocations: 82.34 kB / 1.408 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/3.515, allocations: 209.1 kB / 1.408 GB, free: 249.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008251/3.516, allocations: 235.8 kB / 1.408 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002144/3.518, allocations: 0.9465 MB / 1.409 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00755/3.526, allocations: 1.104 MB / 1.41 GB, free: 247.7 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 {(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.001051/3.527, allocations: 147.6 kB / 1.411 GB, free: 247.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03572/3.563, allocations: 9.368 MB / 1.42 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.836e-05/3.563, allocations: 4.312 kB / 1.42 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02645/3.589, allocations: 5.979 MB / 1.426 GB, free: 232.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005317/3.595, allocations: 414.7 kB / 1.426 GB, free: 231.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03208/3.627, allocations: 7.459 MB / 1.433 GB, free: 224.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006889/3.634, allocations: 3.213 MB / 1.436 GB, free: 221 MB / 0.8542 GB Notification: Performance of SimCode: time 3.536e-06/3.634, allocations: 0 / 1.436 GB, free: 221 MB / 0.8542 GB