Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",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.258/2.258, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.00171/0.00171, allocations: 189.2 kB / 315.1 MB, free: 4.309 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.875/1.875, allocations: 205.1 MB / 0.5658 GB, free: 316 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.001252/0.001252, allocations: 83.28 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4437/0.445, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.6506, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.498/2.148, allocations: 438.4 MB / 1.312 GB, free: 239.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/2.149, allocations: 96.25 kB / 1.312 GB, free: 239.3 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 11.06/13.21, allocations: 2.286 GB / 3.598 GB, free: 45.37 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/13.21, allocations: 14.58 kB / 3.598 GB, free: 45.37 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004641/13.21, allocations: 0.7074 MB / 3.598 GB, free: 45.02 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1736/13.38, allocations: 42.03 MB / 3.639 GB, free: 37.95 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/13.38, allocations: 117.8 kB / 3.64 GB, free: 37.95 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/13.39, allocations: 234.7 kB / 3.64 GB, free: 37.94 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01395/13.4, allocations: 2.835 MB / 3.643 GB, free: 36.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/13.42, allocations: 3.447 MB / 3.646 GB, free: 35.27 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/13.42, allocations: 8.641 kB / 3.646 GB, free: 35.27 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/13.42, allocations: 4.859 kB / 3.646 GB, free: 35.27 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001808/13.42, allocations: 104.8 kB / 3.646 GB, free: 35.26 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05017/13.47, allocations: 23.71 MB / 3.669 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/13.47, allocations: 1.454 MB / 3.671 GB, free: 9.887 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003546/13.48, allocations: 1.331 MB / 3.672 GB, free: 8.555 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005536/13.48, allocations: 6.424 MB / 3.678 GB, free: 0.7109 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005802/13.49, allocations: 1.317 MB / 3.679 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=261): time 1.562e-05/13.49, allocations: 0 / 3.679 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=261): time 0.03102/13.52, allocations: 3.332 MB / 3.683 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/13.52, allocations: 103.1 kB / 3.683 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01658/13.54, allocations: 3.271 MB / 3.686 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001061/13.54, allocations: 33.7 kB / 3.686 GB, free: 8.562 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004631/13.54, allocations: 1.46 MB / 3.687 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004137/13.55, allocations: 0.8698 MB / 3.688 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005869/13.55, allocations: 0 / 3.688 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000475/13.55, allocations: 415.8 kB / 3.689 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/13.55, allocations: 1.025 MB / 3.69 GB, free: 4.766 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004829/13.56, allocations: 1.648 MB / 3.691 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/13.57, allocations: 1.855 MB / 3.693 GB, free: 0.9844 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.327e-05/13.57, allocations: 8 kB / 3.693 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.02077/13.59, allocations: 3.829 MB / 3.697 GB, free: 13.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003456/13.59, allocations: 6.706 MB / 3.703 GB, free: 5.824 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/13.59, allocations: 31.98 kB / 3.703 GB, free: 5.793 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.801e-05/13.59, allocations: 28 kB / 3.703 GB, free: 5.766 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005556/13.6, allocations: 0.6123 MB / 3.704 GB, free: 5.152 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.275e-05/13.6, allocations: 35.88 kB / 3.704 GB, free: 5.117 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008459/13.61, allocations: 456.9 kB / 3.705 GB, free: 4.668 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/13.61, allocations: 151.9 kB / 3.705 GB, free: 4.52 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/13.61, allocations: 4 kB / 3.705 GB, free: 4.516 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0179/13.63, allocations: 3.294 MB / 3.708 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/13.63, allocations: 27.98 kB / 3.708 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.366e-05/13.63, allocations: 35.91 kB / 3.708 GB, free: 1.125 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005331/13.63, allocations: 0.6089 MB / 3.709 GB, free: 0.5156 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.825e-05/13.63, allocations: 38.34 kB / 3.709 GB, free: 492 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007872/13.64, allocations: 417.5 kB / 3.709 GB, free: 72 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.5551/14.2, allocations: 148 kB / 3.709 GB, free: 140.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001333/14.2, allocations: 170.5 kB / 3.709 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/14.2, allocations: 480.6 kB / 3.71 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02649/14.23, allocations: 5.726 MB / 3.715 GB, free: 140 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001557/14.23, allocations: 54.56 kB / 3.715 GB, free: 140 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/14.23, allocations: 0 / 3.715 GB, free: 140 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01831/14.24, allocations: 3.839 MB / 3.719 GB, free: 139.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03867/14.28, allocations: 8.998 MB / 3.728 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001494/14.28, allocations: 21.89 kB / 3.728 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005134/14.29, allocations: 0.5232 MB / 3.728 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.163e-05/14.29, allocations: 17.28 kB / 3.728 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007703/14.29, allocations: 66.47 kB / 3.729 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.352e-05/14.29, allocations: 10.88 kB / 3.729 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/14.29, allocations: 9.266 kB / 3.729 GB, free: 139 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02201/14.31, allocations: 6.679 MB / 3.735 GB, free: 138.4 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03448/14.35, allocations: 9.566 MB / 3.744 GB, free: 137.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005104/14.35, allocations: 1.111 MB / 3.746 GB, free: 136.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002907/14.35, allocations: 11.91 kB / 3.746 GB, free: 136.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007908/14.36, allocations: 325.8 kB / 3.746 GB, free: 136.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/14.36, allocations: 208.8 kB / 3.746 GB, free: 136.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005392/14.36, allocations: 142.7 kB / 3.746 GB, free: 136.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.007702/14.37, allocations: 2.421 MB / 3.749 GB, free: 136.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03361/14.4, allocations: 4.588 MB / 3.753 GB, free: 136.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (352): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * 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.01474/14.42, allocations: 3.741 MB / 3.757 GB, free: 135.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02079/14.44, allocations: 5.455 MB / 3.762 GB, free: 134.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/14.44, allocations: 2.875 kB / 3.762 GB, free: 134.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00798/14.45, allocations: 2.222 MB / 3.764 GB, free: 134.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02855/14.48, allocations: 1.957 MB / 3.766 GB, free: 134.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04249/14.52, allocations: 8.402 MB / 3.774 GB, free: 132.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01376/14.53, allocations: 3.568 MB / 3.778 GB, free: 131.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.563e-06/14.53, allocations: 1.531 kB / 3.778 GB, free: 131.4 MB / 1.01 GB