Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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 loadModel(Buildings): time 3.986/3.986, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5522/4.538, allocations: 104.3 MB / 0.5319 GB, free: 12.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/4.78, allocations: 98.71 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7022/5.482, allocations: 165.7 MB / 0.7901 GB, free: 57.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/5.482, allocations: 107.2 kB / 0.7902 GB, free: 57.77 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.345/5.827, allocations: 78.5 MB / 0.8668 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/5.827, allocations: 17.19 kB / 0.8669 GB, free: 37.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02092/5.848, allocations: 1.467 MB / 0.8683 GB, free: 36.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/5.854, allocations: 1.139 MB / 0.8694 GB, free: 36.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/5.854, allocations: 38.38 kB / 0.8694 GB, free: 36.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007124/5.855, allocations: 73.42 kB / 0.8695 GB, free: 36.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005197/5.86, allocations: 1.495 MB / 0.871 GB, free: 36.06 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/5.866, allocations: 1.913 MB / 0.8728 GB, free: 35.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.081e-05/5.866, allocations: 8.562 kB / 0.8728 GB, free: 35.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/5.866, allocations: 4.125 kB / 0.8728 GB, free: 35.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/5.866, allocations: 83.5 kB / 0.8729 GB, free: 35.19 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02485/5.891, allocations: 9.795 MB / 0.8825 GB, free: 28.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/5.895, allocations: 1.097 MB / 0.8836 GB, free: 27.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/5.897, allocations: 0.6036 MB / 0.8842 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/5.897, allocations: 9.656 kB / 0.8842 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/5.897, allocations: 42.75 kB / 0.8842 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.196e-06/5.897, allocations: 0 / 0.8842 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.01739/5.915, allocations: 3.946 MB / 0.8881 GB, free: 26.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/5.915, allocations: 223.3 kB / 0.8883 GB, free: 26.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/5.917, allocations: 0.7419 MB / 0.889 GB, free: 26.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/5.917, allocations: 26.64 kB / 0.889 GB, free: 26.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/5.917, allocations: 0.5544 MB / 0.8896 GB, free: 25.64 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/5.918, allocations: 270.8 kB / 0.8898 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/5.918, allocations: 1.281 kB / 0.8898 GB, free: 25.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/5.918, allocations: 344.6 kB / 0.8901 GB, free: 25.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/5.92, allocations: 0.6958 MB / 0.8908 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/5.922, allocations: 0.9331 MB / 0.8917 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/5.925, allocations: 0.8004 MB / 0.8925 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/5.925, allocations: 2.25 kB / 0.8925 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01057/5.935, allocations: 2.478 MB / 0.8949 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/5.935, allocations: 8.312 kB / 0.8949 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/5.935, allocations: 6.5 kB / 0.895 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005945/5.941, allocations: 0.8533 MB / 0.8958 GB, free: 22.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/5.945, allocations: 335.4 kB / 0.8961 GB, free: 21.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02295/5.968, allocations: 13.83 MB / 0.9096 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/5.976, allocations: 199.7 kB / 0.9098 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/5.976, allocations: 51.97 kB / 0.9099 GB, free: 6.938 MB / 0.6511 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006559/5.977, allocations: 135.5 kB / 0.91 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007894/5.978, allocations: 130.4 kB / 0.9101 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/5.989, allocations: 2.534 MB / 0.9126 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/5.989, allocations: 8 kB / 0.9126 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/5.989, allocations: 4 kB / 0.9126 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/5.989, allocations: 11.89 kB / 0.9126 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/6.003, allocations: 4.093 MB / 0.9166 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/6.003, allocations: 8.031 kB / 0.9166 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003633/6.006, allocations: 279.6 kB / 0.9169 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/6.012, allocations: 0.7561 MB / 0.9176 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/6.012, allocations: 23.95 kB / 0.9176 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/6.036, allocations: 13.38 MB / 0.9307 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/6.036, allocations: 8.062 kB / 0.9307 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009386/6.046, allocations: 2.474 MB / 0.9331 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009978/6.056, allocations: 2.881 MB / 0.9359 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/6.057, allocations: 371.4 kB / 0.9363 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/6.058, allocations: 7.984 kB / 0.9363 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00397/6.062, allocations: 203.6 kB / 0.9365 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/6.062, allocations: 56.45 kB / 0.9366 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/6.062, allocations: 35.97 kB / 0.9366 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001307/6.063, allocations: 0.568 MB / 0.9371 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003361/6.067, allocations: 396 kB / 0.9375 GB, free: 9.301 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005146/6.067, allocations: 135.1 kB / 0.9376 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009309/6.077, allocations: 2.708 MB / 0.9403 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/6.077, allocations: 3.906 kB / 0.9403 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006007/6.083, allocations: 1.848 MB / 0.9421 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/6.087, allocations: 394.6 kB / 0.9425 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/6.103, allocations: 2.62 MB / 0.945 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004693/6.108, allocations: 1.491 MB / 0.9465 GB, free: 15.85 MB / 0.698 GB Notification: Performance of SimCode: time 2.284e-06/6.108, allocations: 3.938 kB / 0.9465 GB, free: 15.85 MB / 0.698 GB