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_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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.349/2.349, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.00171/0.001709, allocations: 188 kB / 315.1 MB, free: 4.316 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.022/2.022, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001356/0.001356, allocations: 81.64 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5476/0.549, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.7586, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7741/1.533, allocations: 164.6 MB / 1.044 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/1.533, allocations: 93.88 kB / 1.044 GB, free: 9.379 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.8295/2.363, allocations: 184.8 MB / 1.225 GB, free: 8.992 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/2.363, allocations: 8 kB / 1.225 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/2.374, allocations: 1.008 MB / 1.226 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/2.393, allocations: 3.237 MB / 1.229 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003997/2.393, allocations: 156 kB / 1.229 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002382/2.395, allocations: 276 kB / 1.229 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01886/2.414, allocations: 4.885 MB / 1.234 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/2.441, allocations: 6.86 MB / 1.241 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/2.442, allocations: 15.88 kB / 1.241 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001954/2.444, allocations: 16 kB / 1.241 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004501/2.444, allocations: 277.2 kB / 1.241 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5295/2.974, allocations: 35.33 MB / 1.276 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00536/2.979, allocations: 2.007 MB / 1.278 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003186/2.982, allocations: 1.445 MB / 1.279 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/2.983, allocations: 13.06 kB / 1.279 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/2.983, allocations: 60.23 kB / 1.279 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=157): time 4.358e-06/2.983, allocations: 0 / 1.279 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=160): time 0.01394/2.997, allocations: 4.879 MB / 1.284 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/2.997, allocations: 70.53 kB / 1.284 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/2.999, allocations: 1.24 MB / 1.285 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004116/3, allocations: 28.89 kB / 1.285 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/3.001, allocations: 1.808 MB / 1.287 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007813/3.002, allocations: 0.5346 MB / 1.287 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/3.002, allocations: 0 / 1.287 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001607/3.002, allocations: 387.8 kB / 1.288 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/3.004, allocations: 0.991 MB / 1.289 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/3.007, allocations: 1.699 MB / 1.29 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003061/3.01, allocations: 1.289 MB / 1.292 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/3.011, allocations: 7.312 kB / 1.292 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.009978/3.021, allocations: 3.577 MB / 1.295 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/3.021, allocations: 3.812 kB / 1.295 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.974e-05/3.021, allocations: 25.28 kB / 1.295 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/3.025, allocations: 0.9093 MB / 1.296 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/3.028, allocations: 394.4 kB / 1.296 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02439/3.052, allocations: 19.68 MB / 1.316 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/3.056, allocations: 55.41 kB / 1.316 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004233/3.056, allocations: 94.62 kB / 1.316 GB, free: 126.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005558/3.057, allocations: 176.2 kB / 1.316 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007209/3.057, allocations: 237.3 kB / 1.316 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/3.067, allocations: 3.144 MB / 1.319 GB, free: 126 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/3.067, allocations: 17.03 kB / 1.319 GB, free: 126 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.749e-05/3.067, allocations: 15.08 kB / 1.319 GB, free: 126 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/3.067, allocations: 6.656 kB / 1.319 GB, free: 126 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/3.087, allocations: 6.709 MB / 1.326 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/3.087, allocations: 9.547 kB / 1.326 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/3.089, allocations: 204.1 kB / 1.326 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004158/3.093, allocations: 0.8806 MB / 1.327 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003879/3.094, allocations: 3.125 kB / 1.327 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02486/3.118, allocations: 19.66 MB / 1.346 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/3.119, allocations: 3.844 kB / 1.346 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009036/3.128, allocations: 3.595 MB / 1.35 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009421/3.137, allocations: 4.023 MB / 1.354 GB, free: 108.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001995/3.139, allocations: 0.5051 MB / 1.354 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008787/3.14, allocations: 3.875 kB / 1.354 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/3.143, allocations: 46.02 kB / 1.354 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004754/3.143, allocations: 88.52 kB / 1.354 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/3.143, allocations: 44.31 kB / 1.354 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002019/3.146, allocations: 0.9171 MB / 1.355 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005846/3.151, allocations: 0.8188 MB / 1.356 GB, free: 108.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(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.0006439/3.152, allocations: 135 kB / 1.356 GB, free: 108 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009731/3.162, allocations: 4.013 MB / 1.36 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/3.162, allocations: 4.938 kB / 1.36 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007573/3.17, allocations: 2.713 MB / 1.363 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005959/3.176, allocations: 0.6336 MB / 1.363 GB, free: 105.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/3.199, allocations: 6.007 MB / 1.369 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009065/3.208, allocations: 3.375 MB / 1.372 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.154e-06/3.208, allocations: 0 / 1.372 GB, free: 103.3 MB / 0.8542 GB