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_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_R_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.434/2.434, 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.001666/0.001666, allocations: 177.3 kB / 315.1 MB, free: 4.246 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.09/2.09, allocations: 205.1 MB / 0.5658 GB, free: 264 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.001896/0.001896, allocations: 91.27 kB / 0.67 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5186/0.5205, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.7347, allocations: 106.3 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7703/1.505, allocations: 165.3 MB / 1.045 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004152/1.506, allocations: 92.88 kB / 1.045 GB, free: 8.488 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.9641/2.47, allocations: 205.2 MB / 1.245 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/2.47, allocations: 8 kB / 1.245 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/2.484, allocations: 1.129 MB / 1.246 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4187/2.903, allocations: 3.718 MB / 1.25 GB, free: 294.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/2.903, allocations: 190.8 kB / 1.25 GB, free: 294.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/2.906, allocations: 331.3 kB / 1.251 GB, free: 294.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02832/2.934, allocations: 5.89 MB / 1.256 GB, free: 294.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03997/2.974, allocations: 8.048 MB / 1.264 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004892/2.975, allocations: 19.75 kB / 1.264 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003581/2.979, allocations: 14.75 kB / 1.264 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005951/2.979, allocations: 306.1 kB / 1.265 GB, free: 293.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07611/3.055, allocations: 40.41 MB / 1.304 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/3.067, allocations: 2.857 MB / 1.307 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005015/3.072, allocations: 2.122 MB / 1.309 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/3.072, allocations: 27.81 kB / 1.309 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/3.072, allocations: 65.06 kB / 1.309 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 5.35e-06/3.072, allocations: 0 / 1.309 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.0199/3.092, allocations: 6.453 MB / 1.315 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/3.092, allocations: 77.59 kB / 1.315 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002985/3.095, allocations: 1.327 MB / 1.317 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000577/3.096, allocations: 25.7 kB / 1.317 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/3.097, allocations: 2.054 MB / 1.319 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/3.099, allocations: 0.7019 MB / 1.319 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/3.099, allocations: 3.219 kB / 1.319 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002479/3.099, allocations: 411.3 kB / 1.32 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/3.103, allocations: 1.298 MB / 1.321 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/3.107, allocations: 2.069 MB / 1.323 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/3.112, allocations: 1.673 MB / 1.325 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.218e-05/3.112, allocations: 7.219 kB / 1.325 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01386/3.125, allocations: 4.722 MB / 1.329 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/3.126, allocations: 3.812 kB / 1.329 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/3.126, allocations: 26.16 kB / 1.329 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/3.132, allocations: 1.435 MB / 1.331 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/3.135, allocations: 416.6 kB / 1.331 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03293/3.168, allocations: 15.52 MB / 1.346 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004916/3.173, allocations: 65.77 kB / 1.346 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/3.174, allocations: 111.6 kB / 1.346 GB, free: 256.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007917/3.175, allocations: 177.3 kB / 1.347 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/3.176, allocations: 267.2 kB / 1.347 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/3.194, allocations: 4.31 MB / 1.351 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-05/3.194, allocations: 22.16 kB / 1.351 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.741e-05/3.194, allocations: 17.72 kB / 1.351 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.417e-05/3.194, allocations: 20.8 kB / 1.351 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/3.224, allocations: 8.719 MB / 1.36 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/3.224, allocations: 3.625 kB / 1.36 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/3.226, allocations: 213.9 kB / 1.36 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006429/3.233, allocations: 1.398 MB / 1.361 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004841/3.233, allocations: 9.922 kB / 1.361 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03383/3.267, allocations: 15.5 MB / 1.376 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/3.267, allocations: 10.19 kB / 1.376 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01279/3.28, allocations: 4.744 MB / 1.381 GB, free: 240.3 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01453/3.294, allocations: 5.175 MB / 1.386 GB, free: 237.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/3.297, allocations: 0.6019 MB / 1.387 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/3.299, allocations: 6.406 kB / 1.387 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003931/3.303, allocations: 48.28 kB / 1.387 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001187/3.304, allocations: 116.5 kB / 1.387 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/3.304, allocations: 59.19 kB / 1.387 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00295/3.307, allocations: 0.9684 MB / 1.388 GB, free: 236.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007918/3.315, allocations: 1.015 MB / 1.389 GB, free: 236.8 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/3.316, allocations: 127 kB / 1.389 GB, free: 236.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01394/3.33, allocations: 4.21 MB / 1.393 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/3.331, allocations: 5.281 kB / 1.393 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009115/3.34, allocations: 2.553 MB / 1.395 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006438/3.346, allocations: 0.6665 MB / 1.396 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0286/3.375, allocations: 7.552 MB / 1.404 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01169/3.387, allocations: 3.847 MB / 1.407 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.084e-06/3.387, allocations: 3.5 kB / 1.407 GB, free: 223.5 MB / 0.8542 GB