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_L.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_L,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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 4.026/4.026, allocations: 433 MB / 440.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5479/4.574, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/4.834, allocations: 98.73 MB / 0.6283 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2826/5.117, allocations: 147 MB / 0.7719 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/5.118, allocations: 95.58 kB / 0.772 GB, free: 6.371 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.5747/5.692, allocations: 37.14 MB / 0.8082 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/5.692, allocations: 7.656 kB / 0.8083 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/5.695, allocations: 230.9 kB / 0.8085 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/5.698, allocations: 0.5274 MB / 0.809 GB, free: 116 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/5.698, allocations: 20.03 kB / 0.809 GB, free: 116 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/5.698, allocations: 40.16 kB / 0.809 GB, free: 116 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001829/5.7, allocations: 0.5653 MB / 0.8096 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/5.702, allocations: 1.003 MB / 0.8106 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/5.702, allocations: 7.531 kB / 0.8106 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/5.703, allocations: 12.45 kB / 0.8106 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/5.703, allocations: 61.19 kB / 0.8107 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007485/5.71, allocations: 5.666 MB / 0.8162 GB, free: 110 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/5.711, allocations: 400.6 kB / 0.8166 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008345/5.712, allocations: 303.4 kB / 0.8169 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/5.712, allocations: 4.688 kB / 0.8169 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/5.712, allocations: 46.39 kB / 0.8169 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 3.938e-06/5.712, allocations: 4 kB / 0.8169 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.003839/5.716, allocations: 1.128 MB / 0.818 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/5.716, allocations: 55.41 kB / 0.8181 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/5.716, allocations: 323.4 kB / 0.8184 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/5.717, allocations: 29.7 kB / 0.8184 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/5.717, allocations: 330.2 kB / 0.8187 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/5.717, allocations: 143.6 kB / 0.8189 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/5.717, allocations: 0 / 0.8189 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/5.717, allocations: 357.1 kB / 0.8192 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/5.718, allocations: 232.6 kB / 0.8194 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/5.718, allocations: 409.6 kB / 0.8198 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/5.719, allocations: 286.9 kB / 0.8201 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/5.719, allocations: 0 / 0.8201 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002812/5.722, allocations: 0.9095 MB / 0.821 GB, free: 106 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/5.722, allocations: 7.938 kB / 0.821 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/5.722, allocations: 8 kB / 0.821 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/5.724, allocations: 282.2 kB / 0.8213 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006658/5.724, allocations: 91.77 kB / 0.8213 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007808/5.732, allocations: 6.215 MB / 0.8274 GB, free: 99.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/5.733, allocations: 8 kB / 0.8274 GB, free: 99.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/5.733, allocations: 27.73 kB / 0.8274 GB, free: 99.48 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 (51): * Single equations (assignments): 47 * 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 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/5.733, allocations: 120.8 kB / 0.8276 GB, free: 99.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/5.733, allocations: 58.78 kB / 0.8276 GB, free: 99.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/5.736, allocations: 0.8127 MB / 0.8284 GB, free: 98.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/5.736, allocations: 4 kB / 0.8284 GB, free: 98.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/5.736, allocations: 4 kB / 0.8284 GB, free: 98.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/5.736, allocations: 3.984 kB / 0.8284 GB, free: 98.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/5.74, allocations: 1.513 MB / 0.8299 GB, free: 97.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/5.74, allocations: 8 kB / 0.8299 GB, free: 97.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/5.741, allocations: 47.78 kB / 0.83 GB, free: 97.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/5.742, allocations: 270.3 kB / 0.8302 GB, free: 97.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-05/5.742, allocations: 4 kB / 0.8302 GB, free: 97.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008302/5.751, allocations: 6.202 MB / 0.8363 GB, free: 91.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/5.751, allocations: 4 kB / 0.8363 GB, free: 91.05 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002787/5.754, allocations: 0.9918 MB / 0.8372 GB, free: 90.17 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00283/5.757, allocations: 1.37 MB / 0.8386 GB, free: 88.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/5.757, allocations: 168.6 kB / 0.8387 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/5.757, allocations: 4 kB / 0.8387 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/5.758, allocations: 15.98 kB / 0.8388 GB, free: 88.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/5.758, allocations: 24.38 kB / 0.8388 GB, free: 88.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/5.758, allocations: 15.19 kB / 0.8388 GB, free: 88.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003686/5.758, allocations: 241.4 kB / 0.839 GB, free: 88.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002002/5.76, allocations: 168 kB / 0.8392 GB, free: 88.35 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000244/5.761, allocations: 111.1 kB / 0.8393 GB, free: 88.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002849/5.763, allocations: 1.065 MB / 0.8403 GB, free: 87.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/5.764, allocations: 4.125 kB / 0.8403 GB, free: 87.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002328/5.766, allocations: 0.7623 MB / 0.8411 GB, free: 86.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/5.768, allocations: 156.6 kB / 0.8412 GB, free: 86.49 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/5.771, allocations: 0.8956 MB / 0.8421 GB, free: 85.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/5.772, allocations: 1.029 MB / 0.8431 GB, free: 84.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/5.772, allocations: 0 / 0.8431 GB, free: 84.62 MB / 0.6511 GB