Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [: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.7271/0.7271, 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.001168/0.001168, allocations: 181.2 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.1 MB / 399.1 MB, free: 6.066 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.0009892/0.000989, allocations: 91.28 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.612e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1975, allocations: 76.76 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.985/6.183, allocations: 2.146 GB / 2.767 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/6.183, allocations: 83.95 kB / 2.767 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823/8.006, allocations: 386.6 MB / 3.145 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.072e-05/8.007, allocations: 12 kB / 3.145 GB, free: 130.2 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00302/8.01, allocations: 0.8843 MB / 3.146 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/8.01, allocations: 8.031 kB / 3.146 GB, free: 129.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/8.012, allocations: 278.4 kB / 3.146 GB, free: 129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/8.013, allocations: 491.4 kB / 3.147 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/8.013, allocations: 93 kB / 3.147 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/8.014, allocations: 28 kB / 3.147 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009828/8.015, allocations: 389.9 kB / 3.147 GB, free: 128 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/8.016, allocations: 0.4998 MB / 3.148 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/8.016, allocations: 0 / 3.148 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/8.016, allocations: 3.906 kB / 3.148 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/8.016, allocations: 20.98 kB / 3.148 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/8.021, allocations: 2.083 MB / 3.15 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/8.021, allocations: 146.5 kB / 3.15 GB, free: 125.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/8.021, allocations: 84.84 kB / 3.15 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/8.021, allocations: 7.266 kB / 3.15 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/8.021, allocations: 38.5 kB / 3.15 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.916e-06/8.021, allocations: 0 / 3.15 GB, free: 125.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001942/8.023, allocations: 427.1 kB / 3.15 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/8.023, allocations: 84.67 kB / 3.15 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/8.024, allocations: 357 kB / 3.151 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.928e-05/8.024, allocations: 25.7 kB / 3.151 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/8.024, allocations: 271.2 kB / 3.151 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/8.024, allocations: 35.45 kB / 3.151 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/8.024, allocations: 0 / 3.151 GB, free: 123.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001403/8.024, allocations: 346.8 kB / 3.151 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/8.024, allocations: 99.97 kB / 3.152 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/8.025, allocations: 214.1 kB / 3.152 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/8.025, allocations: 131.4 kB / 3.152 GB, free: 123 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/8.025, allocations: 4 kB / 3.152 GB, free: 123 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001918/8.027, allocations: 0.5391 MB / 3.152 GB, free: 122.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/8.027, allocations: 8 kB / 3.152 GB, free: 122.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/8.027, allocations: 3.906 kB / 3.152 GB, free: 122.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/8.028, allocations: 130.7 kB / 3.152 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/8.028, allocations: 82.16 kB / 3.153 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/8.031, allocations: 1.72 MB / 3.154 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/8.032, allocations: 81.83 kB / 3.154 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/8.032, allocations: 15.98 kB / 3.154 GB, free: 120.4 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "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: 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003126/8.032, allocations: 116.9 kB / 3.154 GB, free: 120.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/8.032, allocations: 39.53 kB / 3.154 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/8.032, allocations: 43.28 kB / 3.155 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/8.032, allocations: 7.75 kB / 3.155 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/8.032, allocations: 0 / 3.155 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/8.032, allocations: 3.906 kB / 3.155 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/8.035, allocations: 0.9037 MB / 3.155 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/8.035, allocations: 0 / 3.155 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/8.035, allocations: 48.02 kB / 3.155 GB, free: 119.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/8.036, allocations: 124.4 kB / 3.156 GB, free: 119 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/8.036, allocations: 3.906 kB / 3.156 GB, free: 119 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/8.038, allocations: 1.73 MB / 3.157 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/8.038, allocations: 4.062 kB / 3.157 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001872/8.04, allocations: 0.5512 MB / 3.158 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/8.041, allocations: 152.6 kB / 3.158 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/8.041, allocations: 4 kB / 3.158 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/8.041, allocations: 67.88 kB / 3.158 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/8.042, allocations: 11.98 kB / 3.158 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/8.042, allocations: 11.98 kB / 3.158 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004335/8.042, allocations: 275.1 kB / 3.158 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001463/8.044, allocations: 239.5 kB / 3.159 GB, free: 115.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002616/8.046, allocations: 1.169 MB / 3.16 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008883/8.047, allocations: 341.5 kB / 3.16 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/8.047, allocations: 0 / 3.16 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003139/8.047, allocations: 197.7 kB / 3.16 GB, free: 114.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/8.049, allocations: 175.4 kB / 3.16 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/8.052, allocations: 0.7337 MB / 3.161 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/8.052, allocations: 0.9119 MB / 3.162 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/8.052, allocations: 0 / 3.162 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.02507/8.077, allocations: 14.56 MB / 3.176 GB, free: 97.92 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)