Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.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.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in") [: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.7539/0.7539, allocations: 141.8 MB / 149.1 MB, free: 3.312 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001142, allocations: 179.8 kB / 181.9 MB, free: 15.12 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.494/1.494, allocations: 221.3 MB / 436 MB, free: 8.234 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.001032/0.001032, allocations: 96.78 kB / 0.507 GB, free: 24.41 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001919/0.001919, allocations: 267 kB / 0.5884 GB, free: 11.36 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.151e-05/1.154e-05, allocations: 4 kB / 0.6759 GB, free: 1.727 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5269, allocations: 82.76 MB / 0.7567 GB, free: 111.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.262/5.789, allocations: 2.501 GB / 3.258 GB, free: 62.28 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/5.79, allocations: 87.11 kB / 3.258 GB, free: 62.23 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.533/11.32, allocations: 1.422 GB / 4.68 GB, free: 117.2 MB / 0.7294 GB Notification: Performance of Transformations before backend: time 0.00011/11.32, allocations: 42.89 kB / 4.68 GB, free: 117.2 MB / 0.7294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002665/11.33, allocations: 1.295 MB / 4.682 GB, free: 116.8 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/11.33, allocations: 9.094 kB / 4.682 GB, free: 116.8 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/11.33, allocations: 351.2 kB / 4.682 GB, free: 116.7 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/11.33, allocations: 0.9409 MB / 4.683 GB, free: 116.4 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/11.33, allocations: 33.5 kB / 4.683 GB, free: 116.4 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/11.33, allocations: 59.81 kB / 4.683 GB, free: 116.4 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/11.33, allocations: 0.9253 MB / 4.684 GB, free: 116.4 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/11.33, allocations: 1.302 MB / 4.685 GB, free: 116.2 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/11.33, allocations: 1.594 kB / 4.685 GB, free: 116.2 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/11.33, allocations: 6.438 kB / 4.685 GB, free: 116.2 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/11.33, allocations: 48.7 kB / 4.685 GB, free: 116.2 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005149/11.34, allocations: 5.04 MB / 4.69 GB, free: 113.4 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/11.34, allocations: 303.7 kB / 4.69 GB, free: 113.3 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/11.34, allocations: 251.1 kB / 4.691 GB, free: 113.3 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009506/11.34, allocations: 1.079 MB / 4.692 GB, free: 112.2 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/11.34, allocations: 43.5 kB / 4.692 GB, free: 112.1 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/11.34, allocations: 0 / 4.692 GB, free: 112.1 MB / 0.7294 GB Notification: Performance of matching and sorting (n=28): time 0.001968/11.34, allocations: 0.5659 MB / 4.692 GB, free: 112.1 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/11.34, allocations: 80.89 kB / 4.692 GB, free: 112 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/11.34, allocations: 0.5657 MB / 4.693 GB, free: 111.9 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/11.34, allocations: 25.7 kB / 4.693 GB, free: 111.8 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/11.34, allocations: 460.5 kB / 4.693 GB, free: 111.6 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/11.34, allocations: 94.56 kB / 4.693 GB, free: 111.6 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/11.34, allocations: 0 / 4.693 GB, free: 111.6 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/11.34, allocations: 318.8 kB / 4.694 GB, free: 111.3 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/11.34, allocations: 154.4 kB / 4.694 GB, free: 111.3 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/11.34, allocations: 312 kB / 4.694 GB, free: 111.1 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/11.34, allocations: 240.6 kB / 4.694 GB, free: 111.1 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/11.34, allocations: 3.688 kB / 4.694 GB, free: 111.1 MB / 0.7294 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008271/11.35, allocations: 0.5029 MB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/11.35, allocations: 3.625 kB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/11.35, allocations: 3.969 kB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/11.35, allocations: 3.938 kB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/11.35, allocations: 60.16 kB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/11.35, allocations: 9.375 kB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/11.35, allocations: 25.69 kB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/11.35, allocations: 30.7 kB / 4.695 GB, free: 111 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/11.35, allocations: 111.3 kB / 4.695 GB, free: 110.9 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/11.35, allocations: 76.66 kB / 4.695 GB, free: 110.9 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/11.35, allocations: 326.5 kB / 4.695 GB, free: 110.8 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/11.35, allocations: 0 / 4.695 GB, free: 110.8 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/11.35, allocations: 3.688 kB / 4.696 GB, free: 110.8 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/11.35, allocations: 0 / 4.696 GB, free: 110.8 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003005/11.35, allocations: 2.357 MB / 4.698 GB, free: 110 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/11.35, allocations: 3.094 kB / 4.698 GB, free: 110 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/11.35, allocations: 54.73 kB / 4.698 GB, free: 110 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/11.35, allocations: 12.48 kB / 4.698 GB, free: 110 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/11.35, allocations: 14.66 kB / 4.698 GB, free: 110 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/11.35, allocations: 11.25 kB / 4.698 GB, free: 110 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/11.35, allocations: 14.84 kB / 4.698 GB, free: 110 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006129/11.35, allocations: 0.8374 MB / 4.699 GB, free: 109.3 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/11.35, allocations: 202 kB / 4.699 GB, free: 109.2 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/11.35, allocations: 15.06 kB / 4.699 GB, free: 109.2 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/11.35, allocations: 16.2 kB / 4.699 GB, free: 109.1 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/11.35, allocations: 32.94 kB / 4.699 GB, free: 109.1 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/11.35, allocations: 18.12 kB / 4.699 GB, free: 109.1 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.0004923/11.35, allocations: 470.1 kB / 4.699 GB, free: 109.1 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.00194/11.35, allocations: 0.5125 MB / 4.7 GB, free: 109 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003996/11.36, allocations: 2.433 MB / 4.702 GB, free: 108.6 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.0005379/11.36, allocations: 342.1 kB / 4.703 GB, free: 108.6 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/11.36, allocations: 3.844 kB / 4.703 GB, free: 108.6 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/11.36, allocations: 151.4 kB / 4.703 GB, free: 108.6 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/11.36, allocations: 432 kB / 4.703 GB, free: 108.6 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/11.36, allocations: 1.437 MB / 4.705 GB, free: 108 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008464/11.36, allocations: 1.291 MB / 4.706 GB, free: 107.3 MB / 0.7294 GB Notification: Performance of SimCode: time 7.61e-07/11.36, allocations: 0 / 4.706 GB, free: 107.3 MB / 0.7294 GB Notification: Performance of Templates: time 0.04283/11.41, allocations: 25.71 MB / 4.731 GB, free: 106.8 MB / 0.7294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)