Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.203/2.203, allocations: 248.6 MB / 255.9 MB, free: 276 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001616/0.001615, allocations: 178.3 kB / 315.1 MB, free: 7.77 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.158/2.158, allocations: 205.1 MB / 0.5658 GB, free: 25.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001797, allocations: 86.41 kB / 0.67 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2975/0.2993, allocations: 112.4 MB / 0.7797 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4846/0.784, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/6.407, allocations: 2.199 GB / 3.083 GB, free: 237 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/6.407, allocations: 90.83 kB / 3.083 GB, free: 237 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 3.452/9.859, allocations: 0.766 GB / 3.849 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/9.859, allocations: 13.33 kB / 3.849 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/9.863, allocations: 270.3 kB / 3.849 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/9.866, allocations: 0.8032 MB / 3.85 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/9.866, allocations: 15.97 kB / 3.85 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/9.867, allocations: 36.31 kB / 3.85 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/9.868, allocations: 0.5785 MB / 3.851 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/9.87, allocations: 0.5328 MB / 3.851 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/9.87, allocations: 0 / 3.851 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/9.87, allocations: 0 / 3.851 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/9.87, allocations: 12 kB / 3.851 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006652/9.877, allocations: 2.654 MB / 3.854 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/9.878, allocations: 482.4 kB / 3.854 GB, free: 146 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007113/9.879, allocations: 337.4 kB / 3.855 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/9.88, allocations: 0.6439 MB / 3.855 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/9.88, allocations: 37.44 kB / 3.855 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 3.106e-06/9.88, allocations: 0 / 3.855 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.004805/9.885, allocations: 0.9507 MB / 3.856 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/9.885, allocations: 58.16 kB / 3.856 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009368/9.886, allocations: 467.7 kB / 3.857 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/9.886, allocations: 25.7 kB / 3.857 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/9.887, allocations: 240.2 kB / 3.857 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/9.887, allocations: 153.7 kB / 3.857 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/9.887, allocations: 2.344 kB / 3.857 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/9.887, allocations: 374.8 kB / 3.857 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/9.888, allocations: 236.8 kB / 3.858 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/9.888, allocations: 342.3 kB / 3.858 GB, free: 142 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/9.89, allocations: 363.5 kB / 3.858 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/9.89, allocations: 0 / 3.858 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00272/9.892, allocations: 0.7925 MB / 3.859 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.929e-05/9.892, allocations: 274.9 kB / 3.859 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/9.892, allocations: 3.938 kB / 3.859 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/9.893, allocations: 59.67 kB / 3.859 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/9.894, allocations: 102.7 kB / 3.86 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007441/9.895, allocations: 0.646 MB / 3.86 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/9.896, allocations: 83.33 kB / 3.86 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/9.896, allocations: 23.98 kB / 3.86 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/9.896, allocations: 4 kB / 3.86 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002249/9.899, allocations: 0.6709 MB / 3.861 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/9.899, allocations: 0 / 3.861 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/9.899, allocations: 64.81 kB / 3.861 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/9.9, allocations: 98.61 kB / 3.861 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/9.903, allocations: 1.627 MB / 3.863 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/9.904, allocations: 84.48 kB / 3.863 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/9.905, allocations: 27.97 kB / 3.863 GB, free: 136.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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.0002486/9.905, allocations: 113.5 kB / 3.863 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/9.905, allocations: 75.16 kB / 3.863 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/9.908, allocations: 0.831 MB / 3.864 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/9.908, allocations: 4 kB / 3.864 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/9.908, allocations: 3.844 kB / 3.864 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/9.908, allocations: 3.984 kB / 3.864 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/9.913, allocations: 1.676 MB / 3.865 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/9.913, allocations: 0 / 3.865 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009917/9.914, allocations: 99.67 kB / 3.866 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000196/9.915, allocations: 48.84 kB / 3.866 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/9.915, allocations: 11.98 kB / 3.866 GB, free: 134 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005063/9.915, allocations: 0.61 MB / 3.866 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/9.915, allocations: 4 kB / 3.866 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003031/9.918, allocations: 1.307 MB / 3.867 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004258/9.923, allocations: 2.127 MB / 3.87 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007314/9.923, allocations: 200.1 kB / 3.87 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/9.924, allocations: 11.89 kB / 3.87 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/9.925, allocations: 85.78 kB / 3.87 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/9.925, allocations: 39.86 kB / 3.87 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/9.925, allocations: 23.94 kB / 3.87 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006666/9.926, allocations: 362.5 kB / 3.87 GB, free: 129 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006118/9.932, allocations: 1.069 MB / 3.871 GB, free: 127.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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 Backend phase and start with SimCode phase: time 0.004077/9.936, allocations: 2.38 MB / 3.874 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002652/9.939, allocations: 0.9642 MB / 3.875 GB, free: 125 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/9.939, allocations: 7.688 kB / 3.875 GB, free: 125 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000817/9.94, allocations: 280 kB / 3.875 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004835/9.945, allocations: 448.7 kB / 3.875 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/9.959, allocations: 1.544 MB / 3.877 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/9.961, allocations: 1.06 MB / 3.878 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.756e-06/9.961, allocations: 0 / 3.878 GB, free: 121.7 MB / 0.8698 GB