Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.758/2.758, allocations: 248.6 MB / 255.9 MB, free: 7.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002474/0.002474, allocations: 195.6 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.1 MB / 0.5658 GB, free: 464 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 85.67 kB / 0.67 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4955/0.4968, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.7005, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.79/1.491, allocations: 173.6 MB / 1.053 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/1.491, allocations: 98.55 kB / 1.053 GB, free: 0.7852 MB / 0.6667 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.4707/1.962, allocations: 78.45 MB / 1.13 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.962, allocations: 12 kB / 1.13 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/1.982, allocations: 1.465 MB / 1.131 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/1.987, allocations: 1.149 MB / 1.132 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/1.987, allocations: 40 kB / 1.132 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/1.988, allocations: 67.91 kB / 1.132 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005499/1.993, allocations: 1.496 MB / 1.134 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007356/2.001, allocations: 1.912 MB / 1.136 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.309e-05/2.001, allocations: 7.938 kB / 1.136 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/2.001, allocations: 7.906 kB / 1.136 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/2.001, allocations: 94.12 kB / 1.136 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02693/2.028, allocations: 9.783 MB / 1.145 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/2.032, allocations: 1.094 MB / 1.146 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/2.034, allocations: 0.6034 MB / 1.147 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.413e-05/2.034, allocations: 8.438 kB / 1.147 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/2.034, allocations: 43 kB / 1.147 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=53): time 3.767e-06/2.034, allocations: 0 / 1.147 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81): time 0.0186/2.053, allocations: 3.952 MB / 1.151 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/2.053, allocations: 218.3 kB / 1.151 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/2.055, allocations: 0.7461 MB / 1.152 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/2.055, allocations: 29.7 kB / 1.152 GB, free: 3.938 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/2.056, allocations: 0.5493 MB / 1.152 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/2.056, allocations: 271.9 kB / 1.153 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/2.056, allocations: 0 / 1.153 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001751/2.057, allocations: 341.9 kB / 1.153 GB, free: 2.77 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/2.059, allocations: 0.697 MB / 1.154 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/2.061, allocations: 0.9321 MB / 1.155 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/2.064, allocations: 0.801 MB / 1.155 GB, free: 244 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/2.064, allocations: 4 kB / 1.155 GB, free: 240 kB / 0.7605 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01032/2.074, allocations: 2.479 MB / 1.158 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/2.074, allocations: 8.031 kB / 1.158 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/2.075, allocations: 8 kB / 1.158 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006163/2.081, allocations: 0.8497 MB / 1.159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/2.085, allocations: 339.5 kB / 1.159 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03606/2.122, allocations: 13.83 MB / 1.173 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006974/2.129, allocations: 203.7 kB / 1.173 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004597/2.129, allocations: 47.97 kB / 1.173 GB, free: 13.5 MB / 0.7917 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.0005357/2.13, allocations: 132.1 kB / 1.173 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005474/2.13, allocations: 134.4 kB / 1.173 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/2.141, allocations: 2.533 MB / 1.176 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/2.141, allocations: 8 kB / 1.176 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-05/2.141, allocations: 11.94 kB / 1.176 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-05/2.142, allocations: 7.922 kB / 1.176 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/2.157, allocations: 4.077 MB / 1.18 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/2.157, allocations: 0 / 1.18 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003814/2.161, allocations: 283.8 kB / 1.18 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005786/2.167, allocations: 0.7638 MB / 1.181 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/2.167, allocations: 19.97 kB / 1.181 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/2.193, allocations: 13.4 MB / 1.194 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/2.193, allocations: 0 / 1.194 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01233/2.206, allocations: 2.468 MB / 1.196 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01406/2.22, allocations: 2.879 MB / 1.199 GB, free: 1.434 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/2.222, allocations: 379.4 kB / 1.199 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009428/2.223, allocations: 4 kB / 1.199 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006571/2.23, allocations: 199.7 kB / 1.199 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/2.23, allocations: 52.5 kB / 1.199 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003293/2.23, allocations: 39.97 kB / 1.2 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.002116/2.233, allocations: 0.5641 MB / 1.2 GB, free: 188 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005362/2.238, allocations: 408 kB / 1.2 GB, free: 15.78 MB / 0.823 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.0007583/2.239, allocations: 131.1 kB / 1.201 GB, free: 15.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01265/2.251, allocations: 2.705 MB / 1.203 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/2.252, allocations: 3.938 kB / 1.203 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00903/2.261, allocations: 1.84 MB / 1.205 GB, free: 10.94 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005848/2.267, allocations: 416.7 kB / 1.205 GB, free: 10.53 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/2.286, allocations: 2.608 MB / 1.208 GB, free: 7.84 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005296/2.291, allocations: 1.488 MB / 1.209 GB, free: 6.324 MB / 0.823 GB Notification: Performance of SimCode: time 1.784e-06/2.291, allocations: 0 / 1.209 GB, free: 6.324 MB / 0.823 GB