Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") [: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 8.0.1-maint.8.0.x/package.mo): time 1.683/1.683, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 185.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009393/0.0009391, allocations: 83.89 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.368e-06/9.378e-06, allocations: 0 / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.863/0.863, allocations: 115.3 MB / 0.9637 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/2.024, allocations: 469.2 MB / 1.422 GB, free: 94.31 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/2.024, allocations: 95.44 kB / 1.422 GB, free: 94.26 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.94/5.964, allocations: 0.9359 GB / 2.358 GB, free: 96.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006499/5.965, allocations: 131.4 kB / 2.358 GB, free: 96.88 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01935/5.984, allocations: 4.713 MB / 2.363 GB, free: 96.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/5.984, allocations: 11.34 kB / 2.363 GB, free: 96.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/5.989, allocations: 0.5853 MB / 2.363 GB, free: 95.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/6.003, allocations: 4.069 MB / 2.367 GB, free: 95.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/6.003, allocations: 119.8 kB / 2.367 GB, free: 95.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/6.005, allocations: 234.6 kB / 2.368 GB, free: 95.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01075/6.016, allocations: 5.087 MB / 2.372 GB, free: 95.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/6.028, allocations: 5.531 MB / 2.378 GB, free: 94.62 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001817/6.029, allocations: 15.22 kB / 2.378 GB, free: 94.61 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/6.03, allocations: 9.75 kB / 2.378 GB, free: 94.61 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004803/6.03, allocations: 403.8 kB / 2.378 GB, free: 94.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0462/6.077, allocations: 25.03 MB / 2.403 GB, free: 81.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007927/6.085, allocations: 3.973 MB / 2.407 GB, free: 81.32 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004036/6.089, allocations: 2.298 MB / 2.409 GB, free: 81.29 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02892/6.118, allocations: 12.41 MB / 2.421 GB, free: 75.92 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004034/6.122, allocations: 2.142 MB / 2.423 GB, free: 75.82 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=310): time 6.021e-06/6.122, allocations: 0 / 2.423 GB, free: 75.82 MB / 0.9636 GB Notification: Performance of matching and sorting (n=334): time 0.09896/6.221, allocations: 18.68 MB / 2.441 GB, free: 74.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/6.221, allocations: 119.9 kB / 2.441 GB, free: 74.38 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/6.226, allocations: 2.21 MB / 2.444 GB, free: 74.12 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/6.228, allocations: 35.89 kB / 2.444 GB, free: 74.09 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/6.229, allocations: 1.512 MB / 2.445 GB, free: 73.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002004/6.231, allocations: 1.12 MB / 2.446 GB, free: 72.49 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009443/6.232, allocations: 0 / 2.446 GB, free: 72.49 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003533/6.233, allocations: 467.9 kB / 2.447 GB, free: 72.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/6.236, allocations: 1.893 MB / 2.448 GB, free: 72.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004311/6.241, allocations: 2.902 MB / 2.451 GB, free: 71.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02758/6.268, allocations: 5.288 MB / 2.456 GB, free: 71.02 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.578e-05/6.268, allocations: 7.875 kB / 2.456 GB, free: 71.02 MB / 0.9636 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03825/6.307, allocations: 8.106 MB / 2.464 GB, free: 70.72 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002634/6.309, allocations: 11.91 MB / 2.476 GB, free: 58.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.1e-05/6.309, allocations: 29.47 kB / 2.476 GB, free: 58.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/6.31, allocations: 51.5 kB / 2.476 GB, free: 58.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03868/6.348, allocations: 3.86 MB / 2.48 GB, free: 58.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/6.361, allocations: 5.502 MB / 2.485 GB, free: 54.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006724/6.368, allocations: 299.1 kB / 2.486 GB, free: 54.87 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/6.369, allocations: 204.4 kB / 2.486 GB, free: 54.87 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/6.369, allocations: 3.219 kB / 2.486 GB, free: 54.87 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0221/6.391, allocations: 6.146 MB / 2.492 GB, free: 54.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.357e-05/6.391, allocations: 24.28 kB / 2.492 GB, free: 54.79 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.701e-05/6.391, allocations: 53.5 kB / 2.492 GB, free: 54.79 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006567/6.398, allocations: 1.338 MB / 2.493 GB, free: 54.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.191e-05/6.398, allocations: 60.16 kB / 2.493 GB, free: 54.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/6.403, allocations: 296.7 kB / 2.493 GB, free: 54.76 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005786/6.404, allocations: 202.2 kB / 2.494 GB, free: 54.76 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001255/6.405, allocations: 214.4 kB / 2.494 GB, free: 54.64 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008227/6.406, allocations: 376.6 kB / 2.494 GB, free: 54.45 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03217/6.438, allocations: 8.213 MB / 2.502 GB, free: 54.26 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/6.438, allocations: 43.45 kB / 2.502 GB, free: 54.26 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/6.438, allocations: 3.594 kB / 2.502 GB, free: 54.26 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02861/6.467, allocations: 6.976 MB / 2.509 GB, free: 53.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04942/6.516, allocations: 17.56 MB / 2.526 GB, free: 52.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/6.516, allocations: 15.69 kB / 2.526 GB, free: 52.38 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03527/6.551, allocations: 3.491 MB / 2.53 GB, free: 52.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-05/6.552, allocations: 34.28 kB / 2.53 GB, free: 52.38 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/6.553, allocations: 67.25 kB / 2.53 GB, free: 52.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/6.565, allocations: 5.369 MB / 2.535 GB, free: 48.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.432e-05/6.565, allocations: 29.03 kB / 2.535 GB, free: 48.87 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03502/6.6, allocations: 12.47 MB / 2.547 GB, free: 45.72 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003127/6.603, allocations: 0.9393 MB / 2.548 GB, free: 45.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/6.604, allocations: 37.67 kB / 2.548 GB, free: 45.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003872/6.608, allocations: 197.7 kB / 2.548 GB, free: 45.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/6.609, allocations: 245.1 kB / 2.549 GB, free: 45.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004471/6.609, allocations: 181.7 kB / 2.549 GB, free: 45.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002591/6.612, allocations: 1.608 MB / 2.55 GB, free: 45.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01116/6.623, allocations: 2.401 MB / 2.553 GB, free: 45.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.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 (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004939/6.628, allocations: 1.774 MB / 2.554 GB, free: 44.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.07026/6.698, allocations: 11.28 MB / 2.565 GB, free: 44.71 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-05/6.698, allocations: 4.906 kB / 2.565 GB, free: 44.71 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.05683/6.755, allocations: 6.261 MB / 2.572 GB, free: 44.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009938/6.765, allocations: 1.271 MB / 2.573 GB, free: 44.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03294/6.798, allocations: 9.032 MB / 2.582 GB, free: 42.64 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009466/6.808, allocations: 3.607 MB / 2.585 GB, free: 41.82 MB / 0.9636 GB Notification: Performance of SimCode: time 1.513e-06/6.808, allocations: 0 / 2.585 GB, free: 41.82 MB / 0.9636 GB Notification: Performance of Templates: time 0.1832/6.991, allocations: 101.2 MB / 2.684 GB, free: 3.32 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)