Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",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/BuildSysPro 3.5.0/package.mo): time 0.8437/0.8437, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001428, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.1 MB / 399.1 MB, free: 6.168 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009968/0.0009974, allocations: 82.03 kB / 476.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3832/0.3843, allocations: 82.9 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.5912, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.994, allocations: 429.4 MB / 1.04 GB, free: 52.52 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.994, allocations: 100.2 kB / 1.04 GB, free: 52.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1039 * Number of variables: 1039 Notification: Performance of Generate backend data structure: time 7.343/9.337, allocations: 1.325 GB / 2.366 GB, free: 78.62 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 7.362e-05/9.337, allocations: 6.5 kB / 2.366 GB, free: 78.62 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/9.36, allocations: 4.279 MB / 2.37 GB, free: 76.24 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1232/9.483, allocations: 27.93 MB / 2.397 GB, free: 71.29 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004952/9.484, allocations: 117.8 kB / 2.397 GB, free: 71.29 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00332/9.487, allocations: 239.5 kB / 2.397 GB, free: 71.29 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0158/9.503, allocations: 5.09 MB / 2.402 GB, free: 71.27 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/9.525, allocations: 5.471 MB / 2.408 GB, free: 70.44 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002548/9.525, allocations: 10.94 kB / 2.408 GB, free: 70.44 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00112/9.526, allocations: 8.875 kB / 2.408 GB, free: 70.44 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005995/9.527, allocations: 413.4 kB / 2.408 GB, free: 70.43 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1479/9.675, allocations: 49.52 MB / 2.456 GB, free: 56.05 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00863/9.683, allocations: 3.957 MB / 2.46 GB, free: 56.02 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004535/9.688, allocations: 2.245 MB / 2.463 GB, free: 55.99 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0657/9.754, allocations: 19.33 MB / 2.481 GB, free: 50.59 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003981/9.758, allocations: 2.156 MB / 2.484 GB, free: 50.47 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=302): time 6.963e-06/9.758, allocations: 0 / 2.484 GB, free: 50.47 MB / 0.7138 GB Notification: Performance of matching and sorting (n=326): time 0.1445/9.902, allocations: 27.59 MB / 2.51 GB, free: 42.83 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/9.902, allocations: 113.9 kB / 2.511 GB, free: 42.73 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.403/11.31, allocations: 72.45 MB / 2.581 GB, free: 26.41 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.001971/11.31, allocations: 33.55 kB / 2.581 GB, free: 26.37 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.01749/11.32, allocations: 6.728 MB / 2.588 GB, free: 21.07 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002726/11.33, allocations: 1.09 MB / 2.589 GB, free: 20.06 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/11.33, allocations: 0 / 2.589 GB, free: 20.06 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0004644/11.33, allocations: 471.5 kB / 2.589 GB, free: 19.64 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/11.33, allocations: 1.879 MB / 2.591 GB, free: 17.97 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00457/11.34, allocations: 2.923 MB / 2.594 GB, free: 14.93 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02889/11.37, allocations: 5.289 MB / 2.599 GB, free: 11.14 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/11.37, allocations: 8 kB / 2.599 GB, free: 11.13 MB / 0.7138 GB Notification: Performance of matching and sorting (n=516) (initialization): time 0.7389/12.11, allocations: 11.79 MB / 2.611 GB, free: 75.32 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.01885/12.13, allocations: 44.37 MB / 2.654 GB, free: 62.61 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/12.13, allocations: 29.16 kB / 2.654 GB, free: 62.61 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/12.13, allocations: 55.28 kB / 2.654 GB, free: 62.61 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04077/12.17, allocations: 3.871 MB / 2.658 GB, free: 62.61 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/12.18, allocations: 5.519 MB / 2.663 GB, free: 59.11 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02853/12.21, allocations: 291.3 kB / 2.664 GB, free: 59.11 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002499/12.21, allocations: 204.7 kB / 2.664 GB, free: 59.11 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/12.21, allocations: 2.75 kB / 2.664 GB, free: 59.11 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02948/12.24, allocations: 6.142 MB / 2.67 GB, free: 59.03 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/12.24, allocations: 32.25 kB / 2.67 GB, free: 59.03 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-05/12.24, allocations: 55.81 kB / 2.67 GB, free: 59.03 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007963/12.25, allocations: 1.344 MB / 2.671 GB, free: 59.03 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001491/12.25, allocations: 66.5 kB / 2.671 GB, free: 59.03 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02739/12.28, allocations: 287.4 kB / 2.672 GB, free: 59.03 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002343/12.28, allocations: 199.1 kB / 2.672 GB, free: 59.03 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * 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 (516): * Single equations (assignments): 510 * 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.002102/12.28, allocations: 216 kB / 2.672 GB, free: 58.92 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02641/12.31, allocations: 4.05 MB / 2.676 GB, free: 58.89 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0634/12.37, allocations: 12.85 MB / 2.689 GB, free: 58.31 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/12.37, allocations: 44.17 kB / 2.689 GB, free: 58.31 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/12.37, allocations: 0 / 2.689 GB, free: 58.31 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03484/12.41, allocations: 6.913 MB / 2.695 GB, free: 57.98 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1944/12.6, allocations: 41.23 MB / 2.736 GB, free: 56 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000126/12.6, allocations: 16.94 kB / 2.736 GB, free: 56 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03808/12.64, allocations: 3.472 MB / 2.739 GB, free: 56 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/12.64, allocations: 29.09 kB / 2.739 GB, free: 56 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00144/12.64, allocations: 69.53 kB / 2.739 GB, free: 56 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/12.66, allocations: 5.363 MB / 2.744 GB, free: 68.49 MB / 0.7606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.828e-05/12.66, allocations: 22.47 kB / 2.744 GB, free: 68.49 MB / 0.7606 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0754/12.73, allocations: 30.84 MB / 2.774 GB, free: 64.52 MB / 0.7763 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08074/12.81, allocations: 35.05 MB / 2.809 GB, free: 60.14 MB / 0.7919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03612/12.85, allocations: 8.243 MB / 2.817 GB, free: 57.74 MB / 0.7919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02218/12.87, allocations: 33.86 kB / 2.817 GB, free: 57.74 MB / 0.7919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02631/12.9, allocations: 203 kB / 2.817 GB, free: 57.73 MB / 0.7919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001908/12.9, allocations: 239 kB / 2.817 GB, free: 57.72 MB / 0.7919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005597/12.9, allocations: 149.1 kB / 2.817 GB, free: 57.72 MB / 0.7919 GB Notification: Performance of sort global known variables: time 0.16/13.06, allocations: 57.03 MB / 2.873 GB, free: 56.03 MB / 0.7919 GB Notification: Performance of remove unused functions: time 0.07566/13.14, allocations: 9.378 MB / 2.882 GB, free: 49.96 MB / 0.7919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (386): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.00668/13.14, allocations: 1.737 MB / 2.884 GB, free: 49.04 MB / 0.7919 GB Notification: Performance of simCode: created initialization part: time 0.0778/13.22, allocations: 13.19 MB / 2.897 GB, free: 37.98 MB / 0.7919 GB Notification: Performance of simCode: created event and clocks part: time 5.479e-05/13.22, allocations: 4.938 kB / 2.897 GB, free: 37.98 MB / 0.7919 GB Notification: Performance of simCode: created simulation system equations: time 0.05904/13.28, allocations: 6.207 MB / 2.903 GB, free: 33.29 MB / 0.7919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03767/13.32, allocations: 3.068 MB / 2.906 GB, free: 30.59 MB / 0.7919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9893/14.31, allocations: 86.78 MB / 2.991 GB, free: 127.2 MB / 0.7919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08405/14.39, allocations: 20.77 MB / 3.011 GB, free: 125.3 MB / 0.7919 GB Notification: Performance of SimCode: time 1.994e-06/14.39, allocations: 0 / 3.011 GB, free: 125.3 MB / 0.7919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)