Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.55/2.55, allocations: 248.6 MB / 255.9 MB, free: 7.191 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.001629/0.001629, allocations: 184.1 kB / 315.1 MB, free: 4.242 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.091/2.091, allocations: 205.1 MB / 0.5658 GB, free: 344 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.001557/0.001558, allocations: 87.33 kB / 0.67 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5156/0.5173, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.7421, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8795/1.622, allocations: 203.3 MB / 1.082 GB, free: 4.086 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005198/1.622, allocations: 102.2 kB / 1.082 GB, free: 4.031 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.4369/2.059, allocations: 86.65 MB / 1.167 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/2.059, allocations: 8 kB / 1.167 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02219/2.081, allocations: 1.605 MB / 1.168 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009479/2.091, allocations: 2.102 MB / 1.17 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.087e-05/2.091, allocations: 39.91 kB / 1.17 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005532/2.092, allocations: 68 kB / 1.17 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005881/2.098, allocations: 1.707 MB / 1.172 GB, free: 96 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006161/2.104, allocations: 2.096 MB / 1.174 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/2.104, allocations: 15.83 kB / 1.174 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/2.104, allocations: 4 kB / 1.174 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/2.104, allocations: 94.28 kB / 1.174 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/2.136, allocations: 10.34 MB / 1.184 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004909/2.141, allocations: 1.443 MB / 1.186 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/2.144, allocations: 0.9018 MB / 1.187 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/2.144, allocations: 8.781 kB / 1.187 GB, free: 412 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/2.144, allocations: 51.28 kB / 1.187 GB, free: 348 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 3.607e-06/2.144, allocations: 0 / 1.187 GB, free: 348 kB / 0.7917 GB Notification: Performance of matching and sorting (n=153): time 0.03625/2.18, allocations: 6.987 MB / 1.194 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/2.18, allocations: 230.9 kB / 1.194 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/2.183, allocations: 0.8091 MB / 1.195 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004476/2.183, allocations: 25.7 kB / 1.195 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004846/2.184, allocations: 0.5316 MB / 1.195 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008893/2.184, allocations: 496.4 kB / 1.196 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/2.185, allocations: 0 / 1.196 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002089/2.185, allocations: 369.8 kB / 1.196 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/2.188, allocations: 1.136 MB / 1.197 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/2.192, allocations: 1.411 MB / 1.198 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/2.196, allocations: 1.307 MB / 1.2 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/2.196, allocations: 0 / 1.2 GB, free: 2.836 MB / 0.8073 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.02296/2.219, allocations: 4.518 MB / 1.204 GB, free: 14.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/2.22, allocations: 4 kB / 1.204 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/2.22, allocations: 8 kB / 1.204 GB, free: 14.26 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01756/2.237, allocations: 2.089 MB / 1.206 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004241/2.241, allocations: 339.5 kB / 1.206 GB, free: 11.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05271/2.294, allocations: 20.9 MB / 1.227 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005423/2.3, allocations: 211.7 kB / 1.227 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000622/2.3, allocations: 63.97 kB / 1.227 GB, free: 5.738 MB / 0.8386 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006522/2.301, allocations: 128.2 kB / 1.227 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/2.302, allocations: 166 kB / 1.227 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/2.325, allocations: 4.646 MB / 1.232 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-05/2.325, allocations: 16 kB / 1.232 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.103e-05/2.325, allocations: 16 kB / 1.232 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.271e-05/2.326, allocations: 15.88 kB / 1.232 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03524/2.361, allocations: 6.635 MB / 1.239 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/2.361, allocations: 0 / 1.239 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00374/2.365, allocations: 283.7 kB / 1.239 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01658/2.381, allocations: 1.936 MB / 1.241 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/2.382, allocations: 19.95 kB / 1.241 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4159/2.798, allocations: 20 MB / 1.26 GB, free: 347.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/2.798, allocations: 4 kB / 1.26 GB, free: 347.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01854/2.816, allocations: 4.351 MB / 1.264 GB, free: 347.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01841/2.835, allocations: 4.757 MB / 1.269 GB, free: 346.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/2.837, allocations: 0.4969 MB / 1.27 GB, free: 345.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/2.837, allocations: 6.625 kB / 1.27 GB, free: 345.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004945/2.842, allocations: 211.2 kB / 1.27 GB, free: 345.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/2.843, allocations: 73.97 kB / 1.27 GB, free: 345.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002898/2.843, allocations: 57.92 kB / 1.27 GB, free: 345.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001434/2.845, allocations: 0.6081 MB / 1.271 GB, free: 345.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004459/2.849, allocations: 0.588 MB / 1.271 GB, free: 345.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008596/2.85, allocations: 178.1 kB / 1.271 GB, free: 345.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01306/2.863, allocations: 4.05 MB / 1.275 GB, free: 344.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/2.863, allocations: 3.5 kB / 1.275 GB, free: 344.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009488/2.873, allocations: 2.631 MB / 1.278 GB, free: 344 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003998/2.877, allocations: 431.8 kB / 1.278 GB, free: 344 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/2.891, allocations: 3.241 MB / 1.281 GB, free: 343.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002837/2.893, allocations: 1.623 MB / 1.283 GB, free: 342.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.094e-06/2.894, allocations: 0 / 1.283 GB, free: 342.6 MB / 0.8542 GB