Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.994/3.994, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5363/4.531, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/4.745, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2642/5.009, allocations: 149.3 MB / 0.7741 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005335/5.01, allocations: 107.6 kB / 0.7742 GB, free: 4.105 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.5996/5.61, allocations: 37.4 MB / 0.8108 GB, free: 57.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/5.61, allocations: 7.812 kB / 0.8108 GB, free: 57.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/5.612, allocations: 250 kB / 0.811 GB, free: 57.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/5.614, allocations: 0.5376 MB / 0.8115 GB, free: 57.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/5.614, allocations: 23.44 kB / 0.8116 GB, free: 57.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/5.614, allocations: 38.88 kB / 0.8116 GB, free: 57.24 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/5.616, allocations: 0.62 MB / 0.8122 GB, free: 57.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/5.618, allocations: 1.044 MB / 0.8132 GB, free: 56.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/5.618, allocations: 3.938 kB / 0.8132 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/5.618, allocations: 11.83 kB / 0.8132 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.176e-05/5.618, allocations: 63.66 kB / 0.8133 GB, free: 56.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007183/5.625, allocations: 5.776 MB / 0.8189 GB, free: 52.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/5.626, allocations: 0.5278 MB / 0.8195 GB, free: 52.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/5.627, allocations: 322.2 kB / 0.8198 GB, free: 52.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/5.627, allocations: 12.19 kB / 0.8198 GB, free: 52.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/5.627, allocations: 34.69 kB / 0.8198 GB, free: 52.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.955e-06/5.627, allocations: 7.844 kB / 0.8198 GB, free: 52.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.00341/5.631, allocations: 1.184 MB / 0.821 GB, free: 52.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/5.631, allocations: 55.75 kB / 0.821 GB, free: 52.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/5.631, allocations: 398.7 kB / 0.8214 GB, free: 51.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.19e-05/5.632, allocations: 29.64 kB / 0.8214 GB, free: 51.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/5.632, allocations: 355.6 kB / 0.8218 GB, free: 51.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/5.632, allocations: 165.8 kB / 0.8219 GB, free: 51.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/5.632, allocations: 0 / 0.8219 GB, free: 51.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001084/5.632, allocations: 372.5 kB / 0.8223 GB, free: 51.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/5.633, allocations: 256.3 kB / 0.8225 GB, free: 51.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/5.633, allocations: 447.4 kB / 0.823 GB, free: 51.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/5.634, allocations: 332.3 kB / 0.8233 GB, free: 50.99 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/5.634, allocations: 0 / 0.8233 GB, free: 50.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002766/5.637, allocations: 0.9834 MB / 0.8242 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/5.637, allocations: 6.719 kB / 0.8242 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/5.637, allocations: 7.812 kB / 0.8242 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/5.638, allocations: 273.2 kB / 0.8245 GB, free: 50.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009367/5.639, allocations: 112.8 kB / 0.8246 GB, free: 50.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007657/5.647, allocations: 6.203 MB / 0.8307 GB, free: 45.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/5.648, allocations: 17.81 kB / 0.8307 GB, free: 45.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/5.648, allocations: 26.91 kB / 0.8307 GB, free: 45.94 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 (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001901/5.648, allocations: 127.2 kB / 0.8308 GB, free: 45.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/5.649, allocations: 70.45 kB / 0.8309 GB, free: 45.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/5.651, allocations: 0.8476 MB / 0.8317 GB, free: 45.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/5.651, allocations: 3.875 kB / 0.8317 GB, free: 45.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/5.651, allocations: 3.906 kB / 0.8317 GB, free: 45.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/5.651, allocations: 2.016 kB / 0.8317 GB, free: 45.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/5.654, allocations: 1.603 MB / 0.8333 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/5.655, allocations: 0 / 0.8333 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/5.655, allocations: 59.62 kB / 0.8334 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/5.656, allocations: 261.2 kB / 0.8336 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/5.656, allocations: 11.81 kB / 0.8336 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007339/5.664, allocations: 6.189 MB / 0.8397 GB, free: 40.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/5.664, allocations: 5.828 kB / 0.8397 GB, free: 40.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002374/5.666, allocations: 1.022 MB / 0.8407 GB, free: 40.02 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002359/5.669, allocations: 1.405 MB / 0.842 GB, free: 39.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/5.669, allocations: 190.3 kB / 0.8422 GB, free: 39.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/5.669, allocations: 0 / 0.8422 GB, free: 39.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/5.67, allocations: 13.64 kB / 0.8422 GB, free: 39.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/5.67, allocations: 32.5 kB / 0.8423 GB, free: 39.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/5.67, allocations: 15.53 kB / 0.8423 GB, free: 39.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000473/5.671, allocations: 298.5 kB / 0.8426 GB, free: 39.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001992/5.673, allocations: 212.3 kB / 0.8428 GB, free: 39.05 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 (31): * Single equations (assignments): 27 * 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,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002231/5.673, allocations: 108.6 kB / 0.8429 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0032/5.676, allocations: 1.145 MB / 0.844 GB, free: 38.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/5.676, allocations: 0 / 0.844 GB, free: 38.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/5.678, allocations: 0.808 MB / 0.8448 GB, free: 38.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/5.68, allocations: 164.7 kB / 0.8449 GB, free: 38.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/5.683, allocations: 0.9884 MB / 0.8459 GB, free: 37.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008099/5.684, allocations: 1.056 MB / 0.8469 GB, free: 37.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/5.684, allocations: 7.938 kB / 0.8469 GB, free: 37.02 MB / 0.6511 GB