Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7336/0.7336, allocations: 141.8 MB / 149.1 MB, free: 13.76 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 182.6 kB / 181.9 MB, free: 10.36 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 436 MB, free: 2.879 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 99.34 kB / 0.507 GB, free: 17.97 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001852/0.001852, allocations: 281.7 kB / 0.5884 GB, free: 4.34 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.127e-06, allocations: 1.531 kB / 0.6759 GB, free: 137.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 82.77 MB / 0.7567 GB, free: 84.24 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.229/4.413, allocations: 1.905 GB / 2.662 GB, free: 47.71 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/4.414, allocations: 87.36 kB / 2.662 GB, free: 47.67 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.907/10.32, allocations: 1.673 GB / 4.335 GB, free: 39.98 MB / 0.7607 GB Notification: Performance of Transformations before backend: time 0.0004978/10.32, allocations: 59.67 kB / 4.335 GB, free: 39.93 MB / 0.7607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.009195/10.33, allocations: 2.53 MB / 4.338 GB, free: 37.36 MB / 0.7607 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/10.33, allocations: 13.27 kB / 4.338 GB, free: 37.34 MB / 0.7607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007113/10.34, allocations: 0.8881 MB / 4.339 GB, free: 36.45 MB / 0.7607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00982/10.35, allocations: 2.714 MB / 4.341 GB, free: 33.72 MB / 0.7607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/10.35, allocations: 55.84 kB / 4.341 GB, free: 33.66 MB / 0.7607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007032/10.35, allocations: 88 kB / 4.342 GB, free: 33.58 MB / 0.7607 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003365/10.35, allocations: 1.247 MB / 4.343 GB, free: 32.33 MB / 0.7607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/10.36, allocations: 1.415 MB / 4.344 GB, free: 30.85 MB / 0.7607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/10.36, allocations: 7.938 kB / 4.344 GB, free: 30.84 MB / 0.7607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/10.36, allocations: 0 / 4.344 GB, free: 30.84 MB / 0.7607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/10.36, allocations: 46.64 kB / 4.344 GB, free: 30.8 MB / 0.7607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/10.37, allocations: 7.627 MB / 4.352 GB, free: 22.71 MB / 0.7607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/10.37, allocations: 0.8989 MB / 4.353 GB, free: 21.81 MB / 0.7607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/10.37, allocations: 0.5455 MB / 4.353 GB, free: 21.26 MB / 0.7607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/10.37, allocations: 279.5 kB / 4.353 GB, free: 20.94 MB / 0.7607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/10.37, allocations: 43.22 kB / 4.353 GB, free: 20.89 MB / 0.7607 GB Notification: Performance of pre-optimization done (n=81): time 3.517e-06/10.37, allocations: 0 / 4.353 GB, free: 20.89 MB / 0.7607 GB Notification: Performance of matching and sorting (n=81): time 0.004332/10.38, allocations: 1.197 MB / 4.355 GB, free: 19.68 MB / 0.7607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/10.38, allocations: 60.06 kB / 4.355 GB, free: 19.61 MB / 0.7607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/10.38, allocations: 1.306 MB / 4.356 GB, free: 18.27 MB / 0.7607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/10.38, allocations: 29.7 kB / 4.356 GB, free: 18.23 MB / 0.7607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/10.38, allocations: 0.6273 MB / 4.357 GB, free: 17.59 MB / 0.7607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/10.38, allocations: 271.9 kB / 4.357 GB, free: 17.32 MB / 0.7607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/10.38, allocations: 0 / 4.357 GB, free: 17.32 MB / 0.7607 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/10.38, allocations: 349.8 kB / 4.357 GB, free: 16.97 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/10.38, allocations: 362.5 kB / 4.357 GB, free: 16.62 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/10.38, allocations: 0.766 MB / 4.358 GB, free: 15.67 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/10.38, allocations: 0.5223 MB / 4.359 GB, free: 15.15 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/10.38, allocations: 0 / 4.359 GB, free: 15.15 MB / 0.7607 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003199/10.38, allocations: 1.403 MB / 4.36 GB, free: 13.73 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 0.000773/10.39, allocations: 3.841 MB / 4.364 GB, free: 9.613 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/10.39, allocations: 8 kB / 4.364 GB, free: 9.605 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/10.39, allocations: 141.4 kB / 4.364 GB, free: 9.465 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/10.39, allocations: 271.5 kB / 4.364 GB, free: 9.199 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002863/10.39, allocations: 3.383 MB / 4.368 GB, free: 5.625 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/10.39, allocations: 170.9 kB / 4.368 GB, free: 5.457 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/10.39, allocations: 56.05 kB / 4.368 GB, free: 5.402 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/10.39, allocations: 7.984 kB / 4.368 GB, free: 5.395 MB / 0.7607 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/10.4, allocations: 1.158 MB / 4.369 GB, free: 4.215 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/10.4, allocations: 15.98 kB / 4.369 GB, free: 4.199 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/10.4, allocations: 141.8 kB / 4.369 GB, free: 4.059 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/10.4, allocations: 235.6 kB / 4.369 GB, free: 3.828 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/10.4, allocations: 3.048 MB / 4.372 GB, free: 0.5625 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/10.4, allocations: 147.1 kB / 4.372 GB, free: 428 kB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/10.4, allocations: 52.05 kB / 4.372 GB, free: 376 kB / 0.7607 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004175/10.4, allocations: 138.4 kB / 4.373 GB, free: 232 kB / 0.7607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005795/10.4, allocations: 185.7 kB / 4.373 GB, free: 44 kB / 0.7607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/10.41, allocations: 1.233 MB / 4.374 GB, free: 14.78 MB / 0.7763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/10.41, allocations: 12 kB / 4.374 GB, free: 14.77 MB / 0.7763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/10.41, allocations: 4.125 kB / 4.374 GB, free: 14.76 MB / 0.7763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002359/10.41, allocations: 1.042 MB / 4.375 GB, free: 13.67 MB / 0.7763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/10.42, allocations: 2.69 MB / 4.378 GB, free: 10.9 MB / 0.7763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/10.42, allocations: 3.938 kB / 4.378 GB, free: 10.89 MB / 0.7763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/10.42, allocations: 211.8 kB / 4.378 GB, free: 10.69 MB / 0.7763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/10.42, allocations: 117.6 kB / 4.378 GB, free: 10.57 MB / 0.7763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/10.42, allocations: 15.98 kB / 4.378 GB, free: 10.55 MB / 0.7763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/10.42, allocations: 4.706 MB / 4.383 GB, free: 5.543 MB / 0.7763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/10.42, allocations: 4.031 kB / 4.383 GB, free: 5.539 MB / 0.7763 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004352/10.43, allocations: 1.802 MB / 4.384 GB, free: 3.648 MB / 0.7763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/10.43, allocations: 358.4 kB / 4.385 GB, free: 3.277 MB / 0.7763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007316/10.43, allocations: 0 / 4.385 GB, free: 3.277 MB / 0.7763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/10.43, allocations: 118.7 kB / 4.385 GB, free: 3.164 MB / 0.7763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/10.43, allocations: 48.58 kB / 4.385 GB, free: 3.117 MB / 0.7763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/10.43, allocations: 35.92 kB / 4.385 GB, free: 3.082 MB / 0.7763 GB Notification: Performance of sort global known variables: time 0.002526/10.44, allocations: 0.9869 MB / 4.386 GB, free: 2.074 MB / 0.7763 GB Notification: Performance of remove unused functions: time 0.007285/10.44, allocations: 1.286 MB / 4.387 GB, free: 0.7852 MB / 0.7763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.5135/10.96, allocations: 4.408 MB / 4.391 GB, free: 81.05 MB / 0.7763 GB Notification: Performance of simCode: created initialization part: time 0.003412/10.96, allocations: 1.84 MB / 4.393 GB, free: 80.74 MB / 0.7763 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/10.96, allocations: 0 / 4.393 GB, free: 80.74 MB / 0.7763 GB Notification: Performance of simCode: created simulation system equations: time 0.0009387/10.96, allocations: 0.6506 MB / 4.394 GB, free: 80.54 MB / 0.7763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/10.97, allocations: 0.8392 MB / 4.395 GB, free: 80.52 MB / 0.7763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/10.97, allocations: 2.767 MB / 4.397 GB, free: 79.82 MB / 0.7763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/10.97, allocations: 1.777 MB / 4.399 GB, free: 79.09 MB / 0.7763 GB Notification: Performance of SimCode: time 7.72e-07/10.97, allocations: 0 / 4.399 GB, free: 79.09 MB / 0.7763 GB Notification: Performance of Templates: time 0.09504/11.07, allocations: 59.85 MB / 4.458 GB, free: 77.21 MB / 0.7763 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)