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.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.961/3.961, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.572/4.533, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/4.755, allocations: 98.71 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3016/5.057, allocations: 148.1 MB / 0.7729 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/5.057, allocations: 95.58 kB / 0.773 GB, free: 5.355 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.7/5.757, allocations: 86.95 MB / 0.8579 GB, free: 44.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/5.757, allocations: 7.906 kB / 0.8579 GB, free: 44.22 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008041/5.765, allocations: 0.6144 MB / 0.8585 GB, free: 43.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/5.768, allocations: 0.8913 MB / 0.8594 GB, free: 43.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/5.768, allocations: 43 kB / 0.8594 GB, free: 43.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/5.769, allocations: 74.16 kB / 0.8595 GB, free: 43.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004091/5.773, allocations: 1.401 MB / 0.8609 GB, free: 43.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004812/5.778, allocations: 2.154 MB / 0.863 GB, free: 42.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/5.778, allocations: 23.59 kB / 0.863 GB, free: 42.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/5.778, allocations: 11.81 kB / 0.863 GB, free: 42.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/5.778, allocations: 153.2 kB / 0.8632 GB, free: 42.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/5.795, allocations: 12.24 MB / 0.8751 GB, free: 31.92 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/5.799, allocations: 1.48 MB / 0.8766 GB, free: 31.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/5.8, allocations: 0.599 MB / 0.8771 GB, free: 31.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/5.8, allocations: 101.7 kB / 0.8772 GB, free: 31.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/5.8, allocations: 46.44 kB / 0.8773 GB, free: 31.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 4.479e-06/5.8, allocations: 7.938 kB / 0.8773 GB, free: 31.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.008006/5.808, allocations: 2.463 MB / 0.8797 GB, free: 30.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/5.809, allocations: 62.03 kB / 0.8798 GB, free: 30.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/5.81, allocations: 0.655 MB / 0.8804 GB, free: 30.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/5.81, allocations: 27.08 kB / 0.8804 GB, free: 30.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/5.811, allocations: 0.603 MB / 0.881 GB, free: 29.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000612/5.812, allocations: 375.2 kB / 0.8814 GB, free: 29.66 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/5.812, allocations: 0 / 0.8814 GB, free: 29.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001596/5.812, allocations: 363.8 kB / 0.8817 GB, free: 29.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/5.814, allocations: 0.5808 MB / 0.8823 GB, free: 29.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/5.816, allocations: 1.017 MB / 0.8833 GB, free: 28.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/5.819, allocations: 0.8721 MB / 0.8841 GB, free: 28.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-05/5.819, allocations: 3.906 kB / 0.8841 GB, free: 28.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007071/5.826, allocations: 2.031 MB / 0.8861 GB, free: 27.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/5.826, allocations: 8.906 kB / 0.8861 GB, free: 27.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/5.826, allocations: 13.72 kB / 0.8861 GB, free: 27.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/5.828, allocations: 253.3 kB / 0.8864 GB, free: 27.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/5.831, allocations: 337.5 kB / 0.8867 GB, free: 27.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00945/5.84, allocations: 10.3 MB / 0.8968 GB, free: 17.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/5.843, allocations: 56.75 kB / 0.8968 GB, free: 17.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/5.843, allocations: 66.33 kB / 0.8969 GB, free: 17.76 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003682/5.843, allocations: 152.5 kB / 0.897 GB, free: 17.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/5.844, allocations: 122.6 kB / 0.8971 GB, free: 17.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007014/5.851, allocations: 1.694 MB / 0.8988 GB, free: 17.08 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/5.851, allocations: 12.09 kB / 0.8988 GB, free: 17.08 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/5.851, allocations: 2.594 kB / 0.8988 GB, free: 17.08 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/5.851, allocations: 3.984 kB / 0.8988 GB, free: 17.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/5.864, allocations: 3.131 MB / 0.9019 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/5.864, allocations: 4.25 kB / 0.9019 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/5.866, allocations: 205.6 kB / 0.9021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/5.868, allocations: 238.4 kB / 0.9023 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/5.868, allocations: 8.75 kB / 0.9023 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/5.882, allocations: 10.27 MB / 0.9123 GB, free: 20.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.722e-05/5.882, allocations: 9.969 kB / 0.9123 GB, free: 20.95 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007415/5.889, allocations: 2.083 MB / 0.9144 GB, free: 19.47 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007549/5.897, allocations: 2.497 MB / 0.9168 GB, free: 17.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/5.898, allocations: 307.6 kB / 0.9171 GB, free: 17.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/5.899, allocations: 14.77 kB / 0.9171 GB, free: 17.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/5.901, allocations: 47.44 kB / 0.9172 GB, free: 17.34 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/5.901, allocations: 74.78 kB / 0.9172 GB, free: 17.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/5.901, allocations: 34.12 kB / 0.9173 GB, free: 17.29 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001523/5.903, allocations: 0.4901 MB / 0.9177 GB, free: 17.01 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005418/5.909, allocations: 350.1 kB / 0.9181 GB, free: 17 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005923/5.909, allocations: 134.4 kB / 0.9182 GB, free: 16.89 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007287/5.916, allocations: 2.329 MB / 0.9205 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/5.917, allocations: 1.25 kB / 0.9205 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005102/5.922, allocations: 1.522 MB / 0.922 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/5.926, allocations: 268.1 kB / 0.9222 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007917/5.933, allocations: 2.164 MB / 0.9243 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/5.936, allocations: 1.445 MB / 0.9257 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of SimCode: time 1.323e-06/5.936, allocations: 0 / 0.9257 GB, free: 10.65 MB / 0.6667 GB