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.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_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.776/3.776, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5605/4.337, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/4.569, allocations: 98.73 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2608/4.83, allocations: 139.5 MB / 0.7645 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/4.83, allocations: 95.52 kB / 0.7646 GB, free: 13.99 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.4578/5.288, allocations: 27.73 MB / 0.7917 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/5.288, allocations: 9.609 kB / 0.7917 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/5.291, allocations: 186 kB / 0.7919 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/5.292, allocations: 402.1 kB / 0.7923 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/5.292, allocations: 10.88 kB / 0.7923 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.061e-05/5.292, allocations: 19.91 kB / 0.7923 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00106/5.293, allocations: 360.3 kB / 0.7926 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/5.294, allocations: 0.6521 MB / 0.7933 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/5.294, allocations: 6.188 kB / 0.7933 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/5.294, allocations: 8.766 kB / 0.7933 GB, free: 138 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.356e-05/5.294, allocations: 49.09 kB / 0.7933 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006585/5.301, allocations: 3.71 MB / 0.797 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/5.303, allocations: 436.1 kB / 0.7974 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007954/5.304, allocations: 176.1 kB / 0.7975 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/5.304, allocations: 3.344 kB / 0.7975 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/5.304, allocations: 40.75 kB / 0.7976 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 5.831e-06/5.304, allocations: 0 / 0.7976 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.004142/5.308, allocations: 0.808 MB / 0.7984 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/5.308, allocations: 107.5 kB / 0.7985 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/5.309, allocations: 297.1 kB / 0.7988 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/5.309, allocations: 26.58 kB / 0.7988 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/5.309, allocations: 247.1 kB / 0.799 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/5.31, allocations: 116.5 kB / 0.7991 GB, free: 134 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/5.31, allocations: 0 / 0.7991 GB, free: 134 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001357/5.31, allocations: 351.8 kB / 0.7995 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/5.31, allocations: 161.6 kB / 0.7996 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/5.311, allocations: 339.5 kB / 0.7999 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/5.312, allocations: 221.3 kB / 0.8002 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/5.312, allocations: 2.453 kB / 0.8002 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001752/5.314, allocations: 0.6023 MB / 0.8007 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/5.314, allocations: 9.703 kB / 0.8007 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/5.314, allocations: 5.844 kB / 0.8008 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/5.314, allocations: 101.3 kB / 0.8009 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/5.315, allocations: 102.4 kB / 0.8009 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/5.319, allocations: 3.852 MB / 0.8047 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/5.32, allocations: 17.53 kB / 0.8047 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/5.32, allocations: 23.27 kB / 0.8048 GB, free: 129.7 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 (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/5.32, allocations: 121.2 kB / 0.8049 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/5.321, allocations: 46.59 kB / 0.8049 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/5.322, allocations: 0.4937 MB / 0.8054 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/5.322, allocations: 5.016 kB / 0.8054 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/5.322, allocations: 1.156 kB / 0.8054 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/5.322, allocations: 7.109 kB / 0.8054 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/5.326, allocations: 1.202 MB / 0.8066 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/5.326, allocations: 3.031 kB / 0.8066 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/5.326, allocations: 56.5 kB / 0.8066 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/5.327, allocations: 95.62 kB / 0.8067 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/5.327, allocations: 7.469 kB / 0.8067 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004744/5.331, allocations: 3.838 MB / 0.8105 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.556e-05/5.331, allocations: 11.31 kB / 0.8105 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002622/5.334, allocations: 0.8925 MB / 0.8114 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002778/5.337, allocations: 1.272 MB / 0.8126 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/5.338, allocations: 154 kB / 0.8128 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/5.338, allocations: 4.75 kB / 0.8128 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/5.339, allocations: 10.02 kB / 0.8128 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/5.339, allocations: 26.05 kB / 0.8128 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/5.339, allocations: 14.38 kB / 0.8128 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000671/5.34, allocations: 233.7 kB / 0.813 GB, free: 123.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004459/5.344, allocations: 111 kB / 0.8131 GB, free: 123.3 MB / 0.6511 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.0002869/5.344, allocations: 109.2 kB / 0.8132 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001821/5.346, allocations: 0.7365 MB / 0.814 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/5.346, allocations: 1.094 kB / 0.814 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/5.347, allocations: 0.5134 MB / 0.8145 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/5.349, allocations: 100 kB / 0.8146 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/5.351, allocations: 0.6608 MB / 0.8152 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/5.351, allocations: 0.9107 MB / 0.8161 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/5.351, allocations: 0 / 0.8161 GB, free: 121.3 MB / 0.6511 GB