Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.ACLine_RL,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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 7.0.1/package.mo): time 2.417/2.417, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.00168/0.00168, allocations: 189.2 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.1 MB / 0.5658 GB, free: 372 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.001313/0.001313, allocations: 94.81 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5292/0.5305, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.7523, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.765/1.517, allocations: 188.7 MB / 1.068 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004023/1.518, allocations: 92.19 kB / 1.068 GB, free: 1.996 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.6786/2.197, allocations: 148.1 MB / 1.213 GB, free: 5.969 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/2.197, allocations: 12 kB / 1.213 GB, free: 5.957 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009514/2.206, allocations: 0.803 MB / 1.213 GB, free: 5.148 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/2.217, allocations: 2.569 MB / 1.216 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/2.217, allocations: 131.9 kB / 1.216 GB, free: 2.395 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/2.219, allocations: 227.9 kB / 1.216 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01395/2.233, allocations: 3.716 MB / 1.22 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/2.253, allocations: 5.224 MB / 1.225 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002093/2.253, allocations: 11.88 kB / 1.225 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/2.254, allocations: 15.91 kB / 1.225 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003637/2.255, allocations: 223 kB / 1.225 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.415/2.67, allocations: 26.95 MB / 1.251 GB, free: 317.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/2.672, allocations: 1.028 MB / 1.252 GB, free: 317.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/2.674, allocations: 0.979 MB / 1.253 GB, free: 317.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.835e-05/2.675, allocations: 9.625 kB / 1.253 GB, free: 317.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/2.675, allocations: 44.81 kB / 1.253 GB, free: 317.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.998e-06/2.675, allocations: 0 / 1.253 GB, free: 317.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.02408/2.699, allocations: 6.932 MB / 1.26 GB, free: 317.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/2.699, allocations: 63.22 kB / 1.26 GB, free: 317 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/2.701, allocations: 1.077 MB / 1.261 GB, free: 316.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003266/2.701, allocations: 28.58 kB / 1.261 GB, free: 316.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008859/2.702, allocations: 1.428 MB / 1.263 GB, free: 316.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006835/2.703, allocations: 450.7 kB / 1.263 GB, free: 315.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/2.703, allocations: 2.719 kB / 1.263 GB, free: 315.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001503/2.703, allocations: 379.9 kB / 1.264 GB, free: 315.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/2.705, allocations: 0.8556 MB / 1.264 GB, free: 315.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/2.708, allocations: 1.438 MB / 1.266 GB, free: 314.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/2.711, allocations: 1.112 MB / 1.267 GB, free: 314.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/2.711, allocations: 3.812 kB / 1.267 GB, free: 314.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.009869/2.721, allocations: 3.054 MB / 1.27 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/2.721, allocations: 8.188 kB / 1.27 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/2.721, allocations: 17.34 kB / 1.27 GB, free: 314.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004445/2.725, allocations: 0.7166 MB / 1.271 GB, free: 314.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/2.729, allocations: 377.5 kB / 1.271 GB, free: 314.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02193/2.751, allocations: 14.49 MB / 1.285 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/2.755, allocations: 47.5 kB / 1.285 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007966/2.756, allocations: 83.72 kB / 1.285 GB, free: 303.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008881/2.757, allocations: 154.8 kB / 1.285 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/2.758, allocations: 184.5 kB / 1.286 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/2.77, allocations: 2.667 MB / 1.288 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/2.77, allocations: 14.34 kB / 1.288 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.78e-05/2.77, allocations: 7.781 kB / 1.288 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/2.77, allocations: 11.31 kB / 1.288 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/2.787, allocations: 5.453 MB / 1.294 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/2.787, allocations: 3.938 kB / 1.294 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/2.79, allocations: 224.3 kB / 1.294 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/2.794, allocations: 0.6464 MB / 1.294 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003979/2.794, allocations: 10.75 kB / 1.294 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02819/2.822, allocations: 14.19 MB / 1.308 GB, free: 292 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.81e-05/2.822, allocations: 9.281 kB / 1.308 GB, free: 292 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01456/2.837, allocations: 4.235 MB / 1.312 GB, free: 291 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0144/2.851, allocations: 5.928 MB / 1.318 GB, free: 289.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/2.853, allocations: 434.4 kB / 1.319 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008935/2.854, allocations: 10.17 kB / 1.319 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/2.856, allocations: 43.69 kB / 1.319 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/2.857, allocations: 74.16 kB / 1.319 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/2.857, allocations: 40.31 kB / 1.319 GB, free: 289.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001835/2.859, allocations: 0.7985 MB / 1.32 GB, free: 289.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004903/2.864, allocations: 0.6252 MB / 1.32 GB, free: 289.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006001/2.864, allocations: 136.5 kB / 1.32 GB, free: 289.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007867/2.872, allocations: 3.212 MB / 1.323 GB, free: 288.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/2.872, allocations: 0 / 1.323 GB, free: 288.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005235/2.877, allocations: 2.063 MB / 1.325 GB, free: 287.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/2.882, allocations: 0.5154 MB / 1.326 GB, free: 287.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/2.9, allocations: 5.227 MB / 1.331 GB, free: 286.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006301/2.906, allocations: 2.81 MB / 1.334 GB, free: 285.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.884e-06/2.906, allocations: 3.438 kB / 1.334 GB, free: 285.4 MB / 0.8542 GB