Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",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/2, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001634/0.001633, allocations: 187.5 kB / 315.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001414/0.001414, allocations: 95.31 kB / 0.67 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4757/0.4772, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.6942, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.343/8.038, allocations: 2.872 GB / 3.755 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/8.038, allocations: 82.45 kB / 3.755 GB, free: 162.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 7.122/15.16, allocations: 1.397 GB / 5.152 GB, free: 89.48 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/15.16, allocations: 16 kB / 5.152 GB, free: 89.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/15.16, allocations: 349.8 kB / 5.152 GB, free: 89.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/15.17, allocations: 0.943 MB / 5.153 GB, free: 88.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/15.17, allocations: 36 kB / 5.153 GB, free: 88.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/15.17, allocations: 60 kB / 5.154 GB, free: 88.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002619/15.17, allocations: 0.9334 MB / 5.154 GB, free: 87.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/15.17, allocations: 1.32 MB / 5.156 GB, free: 85.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/15.17, allocations: 4 kB / 5.156 GB, free: 85.67 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/15.17, allocations: 4 kB / 5.156 GB, free: 85.67 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/15.17, allocations: 45.95 kB / 5.156 GB, free: 85.62 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008294/15.18, allocations: 5.057 MB / 5.161 GB, free: 80.33 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008177/15.18, allocations: 309.2 kB / 5.161 GB, free: 80.01 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/15.18, allocations: 245.6 kB / 5.161 GB, free: 79.76 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/15.18, allocations: 0.9724 MB / 5.162 GB, free: 78.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/15.18, allocations: 38.56 kB / 5.162 GB, free: 78.56 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/15.18, allocations: 0 / 5.162 GB, free: 78.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.002969/15.19, allocations: 0.5524 MB / 5.163 GB, free: 78 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/15.19, allocations: 81.11 kB / 5.163 GB, free: 77.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/15.19, allocations: 0.5473 MB / 5.163 GB, free: 77.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/15.19, allocations: 25.7 kB / 5.163 GB, free: 77.31 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/15.19, allocations: 462.5 kB / 5.164 GB, free: 76.85 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/15.19, allocations: 90.66 kB / 5.164 GB, free: 76.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/15.19, allocations: 4 kB / 5.164 GB, free: 76.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/15.19, allocations: 321.9 kB / 5.164 GB, free: 76.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/15.19, allocations: 143.9 kB / 5.164 GB, free: 76.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/15.19, allocations: 299.8 kB / 5.165 GB, free: 75.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/15.19, allocations: 187.8 kB / 5.165 GB, free: 75.77 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/15.19, allocations: 0 / 5.165 GB, free: 75.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001133/15.19, allocations: 472.4 kB / 5.165 GB, free: 75.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/15.19, allocations: 6.812 kB / 5.165 GB, free: 75.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/15.19, allocations: 4 kB / 5.165 GB, free: 75.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/15.19, allocations: 4 kB / 5.165 GB, free: 75.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/15.19, allocations: 55.91 kB / 5.165 GB, free: 75.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/15.19, allocations: 7.938 kB / 5.165 GB, free: 75.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/15.19, allocations: 27.97 kB / 5.165 GB, free: 75.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/15.19, allocations: 27.98 kB / 5.165 GB, free: 75.17 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/15.19, allocations: 116.8 kB / 5.166 GB, free: 75.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/15.19, allocations: 75.06 kB / 5.166 GB, free: 74.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/15.19, allocations: 316.2 kB / 5.166 GB, free: 74.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/15.19, allocations: 11.66 kB / 5.166 GB, free: 74.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/15.19, allocations: 0 / 5.166 GB, free: 74.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/15.19, allocations: 7.984 kB / 5.166 GB, free: 74.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/15.2, allocations: 2.366 MB / 5.168 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/15.2, allocations: 4 kB / 5.168 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/15.2, allocations: 47.92 kB / 5.168 GB, free: 72.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/15.2, allocations: 8 kB / 5.168 GB, free: 72.05 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/15.2, allocations: 11.91 kB / 5.168 GB, free: 72.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/15.2, allocations: 15.92 kB / 5.168 GB, free: 72.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/15.2, allocations: 12.41 kB / 5.168 GB, free: 72.01 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001059/15.2, allocations: 0.8305 MB / 5.169 GB, free: 70.93 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00138/15.2, allocations: 1.291 MB / 5.17 GB, free: 69.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/15.2, allocations: 204 kB / 5.171 GB, free: 69.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/15.2, allocations: 12 kB / 5.171 GB, free: 69.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004812/15.2, allocations: 19.89 kB / 5.171 GB, free: 69.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/15.2, allocations: 31.83 kB / 5.171 GB, free: 69.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/15.2, allocations: 20 kB / 5.171 GB, free: 69.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0008012/15.2, allocations: 463.1 kB / 5.171 GB, free: 68.64 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003989/15.21, allocations: 0.7718 MB / 5.172 GB, free: 67.87 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006428/15.21, allocations: 2.59 MB / 5.174 GB, free: 65.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008799/15.21, allocations: 334.4 kB / 5.175 GB, free: 64.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/15.21, allocations: 0 / 5.175 GB, free: 64.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002953/15.22, allocations: 149 kB / 5.175 GB, free: 64.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/15.22, allocations: 439.6 kB / 5.175 GB, free: 64.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/15.22, allocations: 1.45 MB / 5.177 GB, free: 62.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/15.22, allocations: 1.295 MB / 5.178 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.487e-06/15.22, allocations: 0 / 5.178 GB, free: 61.5 MB / 0.8855 GB