Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.304/2.304, allocations: 248.6 MB / 255.9 MB, free: 376 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002659/0.002659, allocations: 179.6 kB / 315.1 MB, free: 7.781 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.217/2.217, allocations: 205.1 MB / 0.5658 GB, free: 25.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 98.02 kB / 0.67 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3091/0.3105, allocations: 112.4 MB / 0.7797 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.8827, allocations: 106.2 MB / 0.8835 GB, free: 77.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7111/1.594, allocations: 157.1 MB / 1.037 GB, free: 61.26 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004686/1.594, allocations: 90.25 kB / 1.037 GB, free: 61.26 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.1431/1.738, allocations: 37.68 MB / 1.074 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.738, allocations: 7.812 kB / 1.074 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/1.74, allocations: 222.1 kB / 1.074 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.742, allocations: 0.548 MB / 1.075 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/1.742, allocations: 19.66 kB / 1.075 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/1.742, allocations: 35.22 kB / 1.075 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/1.744, allocations: 0.5694 MB / 1.075 GB, free: 57.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/1.746, allocations: 1.003 MB / 1.076 GB, free: 56.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/1.746, allocations: 14.98 kB / 1.076 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.746, allocations: 7.812 kB / 1.076 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.575e-05/1.746, allocations: 59.41 kB / 1.076 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006775/1.753, allocations: 5.664 MB / 1.082 GB, free: 52.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/1.753, allocations: 400.1 kB / 1.082 GB, free: 52.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/1.754, allocations: 300.4 kB / 1.082 GB, free: 52.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/1.754, allocations: 7.891 kB / 1.082 GB, free: 52.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/1.754, allocations: 37.91 kB / 1.082 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 3.005e-06/1.754, allocations: 0 / 1.082 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42): time 0.003626/1.758, allocations: 1.127 MB / 1.084 GB, free: 52.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.758, allocations: 55.34 kB / 1.084 GB, free: 52.08 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/1.758, allocations: 335.9 kB / 1.084 GB, free: 51.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/1.758, allocations: 33.61 kB / 1.084 GB, free: 51.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/1.759, allocations: 328.8 kB / 1.084 GB, free: 51.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.759, allocations: 145.9 kB / 1.084 GB, free: 51.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/1.759, allocations: 0 / 1.084 GB, free: 51.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/1.759, allocations: 360.7 kB / 1.085 GB, free: 51.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/1.759, allocations: 225.8 kB / 1.085 GB, free: 51.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/1.76, allocations: 417.3 kB / 1.085 GB, free: 51.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/1.761, allocations: 287.6 kB / 1.086 GB, free: 51.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.761, allocations: 4 kB / 1.086 GB, free: 51.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002768/1.763, allocations: 0.912 MB / 1.087 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/1.764, allocations: 7.719 kB / 1.087 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.764, allocations: 3.875 kB / 1.087 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/1.765, allocations: 278.9 kB / 1.087 GB, free: 50.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/1.766, allocations: 92.03 kB / 1.087 GB, free: 50.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009902/1.776, allocations: 6.206 MB / 1.093 GB, free: 46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007288/1.777, allocations: 11.23 kB / 1.093 GB, free: 46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/1.777, allocations: 26.78 kB / 1.093 GB, free: 46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001702/1.777, allocations: 122.8 kB / 1.093 GB, free: 45.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/1.777, allocations: 58.22 kB / 1.093 GB, free: 45.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/1.78, allocations: 0.8169 MB / 1.094 GB, free: 45.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.78, allocations: 7.906 kB / 1.094 GB, free: 45.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.78, allocations: 3.938 kB / 1.094 GB, free: 45.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.78, allocations: 7.078 kB / 1.094 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/1.784, allocations: 1.531 MB / 1.095 GB, free: 45.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.784, allocations: 0 / 1.095 GB, free: 45.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/1.784, allocations: 44.95 kB / 1.096 GB, free: 45.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/1.786, allocations: 272 kB / 1.096 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/1.786, allocations: 3.906 kB / 1.096 GB, free: 45.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008286/1.794, allocations: 6.206 MB / 1.102 GB, free: 40.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-06/1.794, allocations: 0 / 1.102 GB, free: 40.47 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002556/1.797, allocations: 0.985 MB / 1.103 GB, free: 40.11 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00267/1.8, allocations: 1.372 MB / 1.104 GB, free: 39.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/1.8, allocations: 171.2 kB / 1.104 GB, free: 39.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.8, allocations: 8.812 kB / 1.104 GB, free: 39.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/1.801, allocations: 7.141 kB / 1.104 GB, free: 39.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/1.801, allocations: 23.77 kB / 1.104 GB, free: 39.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/1.801, allocations: 19.44 kB / 1.104 GB, free: 39.24 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005768/1.801, allocations: 254.2 kB / 1.105 GB, free: 39.15 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002077/1.804, allocations: 165.5 kB / 1.105 GB, free: 39.14 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002057/1.804, allocations: 104.1 kB / 1.105 GB, free: 39.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002739/1.807, allocations: 1.073 MB / 1.106 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.807, allocations: 0 / 1.106 GB, free: 38.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.808, allocations: 0.761 MB / 1.107 GB, free: 38.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.811, allocations: 151.7 kB / 1.107 GB, free: 38.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/1.816, allocations: 0.9181 MB / 1.108 GB, free: 37.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/1.818, allocations: 1.023 MB / 1.109 GB, free: 37.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.963e-06/1.818, allocations: 0 / 1.109 GB, free: 37.14 MB / 0.6823 GB