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_R.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_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.437/2.437, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.001671/0.001671, allocations: 199.6 kB / 315.1 MB, free: 4.273 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.112/2.112, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001364/0.001364, allocations: 96.94 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5031/0.5045, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.7027, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7271/1.43, allocations: 157.3 MB / 1.037 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.43, allocations: 95.19 kB / 1.037 GB, free: 0.5273 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.1717/1.602, allocations: 37.43 MB / 1.074 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/1.602, allocations: 12 kB / 1.074 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/1.607, allocations: 245.7 kB / 1.074 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/1.609, allocations: 0.5393 MB / 1.075 GB, free: 352 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.901e-05/1.61, allocations: 20 kB / 1.075 GB, free: 332 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/1.61, allocations: 46.38 kB / 1.075 GB, free: 288 kB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00304/1.613, allocations: 0.615 MB / 1.075 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/1.618, allocations: 1.044 MB / 1.076 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/1.618, allocations: 3.938 kB / 1.076 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/1.618, allocations: 4 kB / 1.076 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/1.618, allocations: 61.02 kB / 1.076 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/1.633, allocations: 5.8 MB / 1.082 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/1.635, allocations: 0.5145 MB / 1.082 GB, free: 8.797 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/1.637, allocations: 324.1 kB / 1.083 GB, free: 8.594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.9e-05/1.637, allocations: 12.33 kB / 1.083 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/1.637, allocations: 42.61 kB / 1.083 GB, free: 8.535 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 8.486e-06/1.637, allocations: 0 / 1.083 GB, free: 8.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.005839/1.643, allocations: 1.188 MB / 1.084 GB, free: 7.598 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.643, allocations: 59.84 kB / 1.084 GB, free: 7.527 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.644, allocations: 401.3 kB / 1.084 GB, free: 7.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.644, allocations: 25.7 kB / 1.084 GB, free: 7.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/1.645, allocations: 351.5 kB / 1.085 GB, free: 6.871 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/1.645, allocations: 164.7 kB / 1.085 GB, free: 6.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/1.645, allocations: 0 / 1.085 GB, free: 6.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002716/1.645, allocations: 372.3 kB / 1.085 GB, free: 6.379 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/1.646, allocations: 260.6 kB / 1.086 GB, free: 6.215 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.648, allocations: 443.7 kB / 1.086 GB, free: 5.809 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.649, allocations: 331.2 kB / 1.086 GB, free: 5.586 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/1.649, allocations: 4 kB / 1.086 GB, free: 5.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004913/1.654, allocations: 0.9809 MB / 1.087 GB, free: 4.809 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/1.654, allocations: 6.656 kB / 1.087 GB, free: 4.805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.654, allocations: 4 kB / 1.087 GB, free: 4.801 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/1.657, allocations: 276.5 kB / 1.088 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.658, allocations: 110.6 kB / 1.088 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/1.673, allocations: 6.213 MB / 1.094 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.675, allocations: 15.98 kB / 1.094 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/1.675, allocations: 23.44 kB / 1.094 GB, free: 14.27 MB / 0.7136 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 (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003925/1.675, allocations: 128 kB / 1.094 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/1.676, allocations: 75.09 kB / 1.094 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/1.68, allocations: 0.8461 MB / 1.095 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.68, allocations: 4 kB / 1.095 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/1.68, allocations: 8 kB / 1.095 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.68, allocations: 0 / 1.095 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007084/1.687, allocations: 1.592 MB / 1.096 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.688, allocations: 4 kB / 1.096 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/1.689, allocations: 55.91 kB / 1.096 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/1.691, allocations: 276.3 kB / 1.097 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/1.691, allocations: 0 / 1.097 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.704, allocations: 6.185 MB / 1.103 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.704, allocations: 7.938 kB / 1.103 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002906/1.707, allocations: 1.019 MB / 1.104 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003174/1.71, allocations: 1.401 MB / 1.105 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/1.711, allocations: 189.5 kB / 1.105 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.711, allocations: 7.984 kB / 1.105 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/1.712, allocations: 11.98 kB / 1.105 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.712, allocations: 31.44 kB / 1.105 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/1.712, allocations: 15.69 kB / 1.105 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0006212/1.713, allocations: 307.9 kB / 1.106 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002544/1.715, allocations: 192 kB / 1.106 GB, free: 2.801 MB / 0.7136 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 (31): * Single equations (assignments): 27 * 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,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003316/1.716, allocations: 115.1 kB / 1.106 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004196/1.72, allocations: 1.149 MB / 1.107 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.72, allocations: 4.125 kB / 1.107 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.722, allocations: 0.7958 MB / 1.108 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.724, allocations: 170.3 kB / 1.108 GB, free: 496 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/1.728, allocations: 0.994 MB / 1.109 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/1.729, allocations: 1.043 MB / 1.11 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of SimCode: time 1.804e-06/1.73, allocations: 0 / 1.11 GB, free: 14.38 MB / 0.7292 GB