Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.358/2.358, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001689/0.001688, allocations: 188.1 kB / 315.1 MB, free: 4.238 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.028/2.028, allocations: 205.1 MB / 0.5658 GB, free: 300 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.001277/0.001276, allocations: 95.3 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4862/0.4875, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.7175, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.54/2.258, allocations: 393.1 MB / 1.267 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/2.258, allocations: 93.08 kB / 1.267 GB, free: 248.5 MB / 0.8542 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.8375/3.096, allocations: 236.8 MB / 1.499 GB, free: 67.81 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/3.096, allocations: 15.94 kB / 1.499 GB, free: 67.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/3.096, allocations: 138.5 kB / 1.499 GB, free: 67.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02619/3.123, allocations: 7.452 MB / 1.506 GB, free: 60.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/3.123, allocations: 24 kB / 1.506 GB, free: 60.06 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/3.123, allocations: 47.91 kB / 1.506 GB, free: 60.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001826/3.125, allocations: 0.6636 MB / 1.507 GB, free: 59.35 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/3.127, allocations: 0.858 MB / 1.508 GB, free: 58.45 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/3.127, allocations: 8 kB / 1.508 GB, free: 58.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/3.127, allocations: 0 / 1.508 GB, free: 58.44 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/3.127, allocations: 20 kB / 1.508 GB, free: 58.42 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/3.137, allocations: 4.491 MB / 1.512 GB, free: 53.61 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/3.138, allocations: 304.3 kB / 1.512 GB, free: 53.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/3.139, allocations: 257.3 kB / 1.513 GB, free: 53.05 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/3.14, allocations: 433.8 kB / 1.513 GB, free: 52.54 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/3.14, allocations: 42.83 kB / 1.513 GB, free: 52.48 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=40): time 4.088e-06/3.14, allocations: 0 / 1.513 GB, free: 52.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.002911/3.143, allocations: 0.5461 MB / 1.514 GB, free: 51.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/3.143, allocations: 55.41 kB / 1.514 GB, free: 51.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/3.145, allocations: 0.7856 MB / 1.514 GB, free: 51.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/3.145, allocations: 25.7 kB / 1.514 GB, free: 51.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/3.145, allocations: 378.8 kB / 1.515 GB, free: 50.67 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/3.145, allocations: 145.9 kB / 1.515 GB, free: 50.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/3.145, allocations: 3.938 kB / 1.515 GB, free: 50.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/3.146, allocations: 326 kB / 1.515 GB, free: 50.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/3.146, allocations: 213.2 kB / 1.515 GB, free: 49.99 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/3.147, allocations: 440 kB / 1.516 GB, free: 49.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/3.148, allocations: 325.2 kB / 1.516 GB, free: 49.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/3.148, allocations: 0 / 1.516 GB, free: 49.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002692/3.15, allocations: 0.748 MB / 1.517 GB, free: 48.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004509/3.151, allocations: 2.182 MB / 1.519 GB, free: 46.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/3.151, allocations: 4 kB / 1.519 GB, free: 46.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/3.151, allocations: 64.83 kB / 1.519 GB, free: 45.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/3.152, allocations: 115.7 kB / 1.519 GB, free: 45.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006358/3.153, allocations: 0.6381 MB / 1.52 GB, free: 45.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/3.154, allocations: 91.38 kB / 1.52 GB, free: 45.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/3.154, allocations: 31.98 kB / 1.52 GB, free: 45.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/3.154, allocations: 8 kB / 1.52 GB, free: 45.06 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001695/3.156, allocations: 0.6093 MB / 1.521 GB, free: 44.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/3.156, allocations: 8 kB / 1.521 GB, free: 44.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/3.156, allocations: 56.83 kB / 1.521 GB, free: 44.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/3.157, allocations: 111.8 kB / 1.521 GB, free: 44.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/3.159, allocations: 1.599 MB / 1.522 GB, free: 42.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/3.16, allocations: 79.58 kB / 1.522 GB, free: 42.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/3.161, allocations: 31.98 kB / 1.522 GB, free: 42.45 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/3.161, allocations: 120.8 kB / 1.523 GB, free: 42.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/3.161, allocations: 86.88 kB / 1.523 GB, free: 42.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/3.163, allocations: 0.6295 MB / 1.523 GB, free: 41.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/3.163, allocations: 4 kB / 1.523 GB, free: 41.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/3.163, allocations: 0 / 1.523 GB, free: 41.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/3.165, allocations: 0.8126 MB / 1.524 GB, free: 40.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/3.168, allocations: 1.553 MB / 1.526 GB, free: 39.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/3.169, allocations: 0 / 1.526 GB, free: 39.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/3.169, allocations: 84.02 kB / 1.526 GB, free: 38.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/3.169, allocations: 28.84 kB / 1.526 GB, free: 38.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/3.169, allocations: 8 kB / 1.526 GB, free: 38.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004131/3.17, allocations: 0.5718 MB / 1.526 GB, free: 38.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/3.17, allocations: 4.062 kB / 1.526 GB, free: 38.34 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00204/3.172, allocations: 0.9914 MB / 1.527 GB, free: 37.29 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002548/3.174, allocations: 1.671 MB / 1.529 GB, free: 35.55 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/3.175, allocations: 251.9 kB / 1.529 GB, free: 35.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/3.175, allocations: 4 kB / 1.529 GB, free: 35.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/3.176, allocations: 63.78 kB / 1.529 GB, free: 35.22 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.636e-05/3.177, allocations: 27.88 kB / 1.529 GB, free: 35.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/3.177, allocations: 19.98 kB / 1.529 GB, free: 35.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001113/3.178, allocations: 0.6084 MB / 1.53 GB, free: 34.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00444/3.182, allocations: 0.6353 MB / 1.53 GB, free: 33.94 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/3.183, allocations: 397.7 kB / 1.531 GB, free: 33.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002381/3.186, allocations: 0.9735 MB / 1.532 GB, free: 32.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/3.186, allocations: 3.938 kB / 1.532 GB, free: 32.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005486/3.186, allocations: 239.7 kB / 1.532 GB, free: 32.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004666/3.191, allocations: 0.5135 MB / 1.532 GB, free: 31.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/3.195, allocations: 1.641 MB / 1.534 GB, free: 30.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/3.197, allocations: 1.334 MB / 1.535 GB, free: 28.77 MB / 0.8542 GB Notification: Performance of SimCode: time 1.603e-06/3.197, allocations: 4 kB / 1.535 GB, free: 28.77 MB / 0.8542 GB