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_N.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_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.31/2.31, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.001588/0.001588, allocations: 177.3 kB / 315.1 MB, free: 4.305 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.363/2.363, allocations: 205.1 MB / 0.5658 GB, free: 404 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.001252/0.001252, allocations: 86.72 kB / 0.67 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5044/0.5057, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.7416, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7961/1.538, allocations: 190.1 MB / 1.069 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/1.538, allocations: 94.06 kB / 1.069 GB, free: 0.6992 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.5082/2.046, allocations: 115.1 MB / 1.182 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/2.046, allocations: 8 kB / 1.182 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/2.054, allocations: 0.6479 MB / 1.182 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008715/2.063, allocations: 2.071 MB / 1.184 GB, free: 3.238 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/2.063, allocations: 96 kB / 1.184 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/2.065, allocations: 179.9 kB / 1.185 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01248/2.077, allocations: 3.081 MB / 1.188 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/2.095, allocations: 4.22 MB / 1.192 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/2.095, allocations: 19.83 kB / 1.192 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006589/2.096, allocations: 4 kB / 1.192 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002957/2.096, allocations: 173.8 kB / 1.192 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/2.14, allocations: 21.06 MB / 1.212 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/2.143, allocations: 1.173 MB / 1.214 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/2.146, allocations: 1.023 MB / 1.215 GB, free: 1.965 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/2.146, allocations: 17 kB / 1.215 GB, free: 1.949 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/2.146, allocations: 43.56 kB / 1.215 GB, free: 1.898 MB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 4.528e-06/2.146, allocations: 0 / 1.215 GB, free: 1.898 MB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.0187/2.165, allocations: 4.796 MB / 1.219 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/2.165, allocations: 68.7 kB / 1.219 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/2.167, allocations: 0.8344 MB / 1.22 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003056/2.167, allocations: 25.7 kB / 1.22 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/2.168, allocations: 1.139 MB / 1.221 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009191/2.169, allocations: 457.2 kB / 1.222 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/2.17, allocations: 0 / 1.222 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000251/2.17, allocations: 373.9 kB / 1.222 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/2.172, allocations: 0.8668 MB / 1.223 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/2.175, allocations: 1.312 MB / 1.224 GB, free: 7.785 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/2.179, allocations: 1.115 MB / 1.225 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-05/2.179, allocations: 8 kB / 1.225 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01207/2.192, allocations: 3.255 MB / 1.229 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/2.192, allocations: 8 kB / 1.229 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/2.192, allocations: 12 kB / 1.229 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006225/2.198, allocations: 1.113 MB / 1.23 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/2.2, allocations: 255.5 kB / 1.23 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03513/2.235, allocations: 11.32 MB / 1.241 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/2.238, allocations: 40.2 kB / 1.241 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/2.238, allocations: 68 kB / 1.241 GB, free: 6.223 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004648/2.238, allocations: 156.4 kB / 1.241 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/2.239, allocations: 150.2 kB / 1.241 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/2.25, allocations: 3.037 MB / 1.244 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/2.25, allocations: 16 kB / 1.244 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-05/2.25, allocations: 12 kB / 1.244 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.414e-05/2.25, allocations: 11.97 kB / 1.244 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3494/2.599, allocations: 5.599 MB / 1.25 GB, free: 340 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.721e-05/2.599, allocations: 3.75 kB / 1.25 GB, free: 340 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/2.602, allocations: 147.1 kB / 1.25 GB, free: 340 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006633/2.608, allocations: 1.019 MB / 1.251 GB, free: 340 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/2.609, allocations: 7.812 kB / 1.251 GB, free: 340 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02331/2.632, allocations: 11 MB / 1.262 GB, free: 336.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/2.632, allocations: 11.06 kB / 1.262 GB, free: 336.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008646/2.641, allocations: 3.266 MB / 1.265 GB, free: 335.8 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008835/2.65, allocations: 3.681 MB / 1.269 GB, free: 334.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/2.651, allocations: 411.1 kB / 1.269 GB, free: 334.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004532/2.651, allocations: 5.281 kB / 1.269 GB, free: 334.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/2.653, allocations: 36.22 kB / 1.269 GB, free: 334.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/2.653, allocations: 77.78 kB / 1.269 GB, free: 334.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/2.653, allocations: 41.05 kB / 1.269 GB, free: 334.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001279/2.655, allocations: 0.6257 MB / 1.27 GB, free: 334.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003935/2.659, allocations: 0.5737 MB / 1.27 GB, free: 334.6 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004292/2.659, allocations: 114.9 kB / 1.27 GB, free: 334.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007614/2.667, allocations: 2.801 MB / 1.273 GB, free: 334.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/2.667, allocations: 0 / 1.273 GB, free: 334.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005194/2.672, allocations: 1.703 MB / 1.275 GB, free: 333.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/2.676, allocations: 374.1 kB / 1.275 GB, free: 333.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/2.69, allocations: 4.352 MB / 1.279 GB, free: 332.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004681/2.694, allocations: 2.424 MB / 1.282 GB, free: 332.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.824e-06/2.694, allocations: 3.219 kB / 1.282 GB, free: 332.1 MB / 0.8542 GB