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_RLC.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_RLC,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.579/2.579, 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.001719/0.001719, allocations: 181.2 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.097/2.097, allocations: 205.1 MB / 0.5658 GB, free: 424 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.001352/0.001351, allocations: 78.64 kB / 0.67 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5493/0.5507, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.7933, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8258/1.619, allocations: 178.7 MB / 1.058 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/1.62, allocations: 96.62 kB / 1.058 GB, free: 11.68 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 1.679/3.299, allocations: 270.5 MB / 1.322 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/3.299, allocations: 18.69 kB / 1.322 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01881/3.318, allocations: 1.415 MB / 1.324 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02005/3.338, allocations: 4.194 MB / 1.328 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005867/3.339, allocations: 162.5 kB / 1.328 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003253/3.342, allocations: 304.3 kB / 1.328 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02097/3.363, allocations: 5.763 MB / 1.334 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03056/3.394, allocations: 7.713 MB / 1.341 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004811/3.394, allocations: 32.69 kB / 1.341 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003206/3.398, allocations: 13.12 kB / 1.341 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005105/3.398, allocations: 341.5 kB / 1.342 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08382/3.482, allocations: 39.1 MB / 1.38 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007537/3.49, allocations: 2.554 MB / 1.382 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006958/3.497, allocations: 2.516 MB / 1.385 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/3.497, allocations: 26.62 kB / 1.385 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/3.497, allocations: 65.84 kB / 1.385 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.771e-06/3.497, allocations: 0 / 1.385 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.1829/3.68, allocations: 27.92 MB / 1.412 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.133e-05/3.68, allocations: 94.73 kB / 1.412 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/3.684, allocations: 1.635 MB / 1.414 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/3.686, allocations: 33.64 kB / 1.414 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/3.687, allocations: 1.897 MB / 1.416 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002727/3.69, allocations: 1.381 MB / 1.417 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006621/3.691, allocations: 0 / 1.417 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004048/3.691, allocations: 483.9 kB / 1.418 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007727/3.699, allocations: 2.74 MB / 1.42 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008707/3.708, allocations: 3.678 MB / 1.424 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009037/3.717, allocations: 3.357 MB / 1.427 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.315e-05/3.717, allocations: 8 kB / 1.427 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.05771/3.774, allocations: 11.38 MB / 1.438 GB, free: 125 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/3.775, allocations: 8 kB / 1.438 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-05/3.775, allocations: 28 kB / 1.438 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03796/3.813, allocations: 4.969 MB / 1.443 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004437/3.817, allocations: 0.4889 MB / 1.444 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1225/3.94, allocations: 59.68 MB / 1.502 GB, free: 59.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00975/3.949, allocations: 67.94 kB / 1.502 GB, free: 59.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001982/3.952, allocations: 168 kB / 1.502 GB, free: 58.89 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003366/3.955, allocations: 192.1 kB / 1.502 GB, free: 58.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002732/3.958, allocations: 371.6 kB / 1.503 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07072/4.028, allocations: 11.23 MB / 1.514 GB, free: 47.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001197/4.029, allocations: 44 kB / 1.514 GB, free: 47.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002409/4.029, allocations: 48 kB / 1.514 GB, free: 46.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001431/4.029, allocations: 19.92 kB / 1.514 GB, free: 46.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08026/4.109, allocations: 16.75 MB / 1.53 GB, free: 30.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-05/4.11, allocations: 4 kB / 1.53 GB, free: 30.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/4.113, allocations: 279.6 kB / 1.53 GB, free: 29.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03198/4.145, allocations: 4.431 MB / 1.535 GB, free: 25.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/4.146, allocations: 19.98 kB / 1.535 GB, free: 25.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5194/4.665, allocations: 57.24 MB / 1.591 GB, free: 281.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.405e-05/4.666, allocations: 11.94 kB / 1.591 GB, free: 281.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05337/4.719, allocations: 15.07 MB / 1.605 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06533/4.784, allocations: 19.8 MB / 1.625 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004417/4.789, allocations: 0.952 MB / 1.626 GB, free: 278 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001975/4.791, allocations: 20.08 kB / 1.626 GB, free: 278 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005769/4.797, allocations: 65.08 kB / 1.626 GB, free: 278 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001368/4.798, allocations: 217 kB / 1.626 GB, free: 278 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004731/4.799, allocations: 106.9 kB / 1.626 GB, free: 278 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002697/4.801, allocations: 1.199 MB / 1.627 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01099/4.812, allocations: 1.428 MB / 1.629 GB, free: 277.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0015/4.814, allocations: 152.3 kB / 1.629 GB, free: 277.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03562/4.85, allocations: 10.53 MB / 1.639 GB, free: 275.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/4.85, allocations: 0 / 1.639 GB, free: 275.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02582/4.875, allocations: 7.034 MB / 1.646 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008745/4.884, allocations: 0.8382 MB / 1.647 GB, free: 272.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/4.924, allocations: 10.11 MB / 1.657 GB, free: 270.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01081/4.934, allocations: 4.094 MB / 1.661 GB, free: 269.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.184e-06/4.934, allocations: 3.812 kB / 1.661 GB, free: 269.8 MB / 0.8698 GB