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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.7439/0.7439, allocations: 127.4 MB / 134.6 MB, free: 4.043 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.001152/0.001153, allocations: 181.3 kB / 164.4 MB, free: 6.852 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.661/1.661, allocations: 205.1 MB / 399.1 MB, free: 6.051 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.0008621/0.0008621, allocations: 88.73 kB / 476.3 MB, free: 8.797 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2888/0.2897, allocations: 82.88 MB / 0.5461 GB, free: 42.61 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.4489, allocations: 76.75 MB / 0.621 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.825/5.274, allocations: 2.146 GB / 2.767 GB, free: 64.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/5.275, allocations: 89.12 kB / 2.768 GB, free: 64.8 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 1.727/7.002, allocations: 387.5 MB / 3.146 GB, free: 143.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/7.002, allocations: 11.09 kB / 3.146 GB, free: 143.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/7.004, allocations: 275.8 kB / 3.146 GB, free: 143.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/7.005, allocations: 490.7 kB / 3.147 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/7.006, allocations: 100.9 kB / 3.147 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/7.006, allocations: 23.34 kB / 3.147 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009589/7.007, allocations: 389 kB / 3.147 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009791/7.008, allocations: 0.4948 MB / 3.148 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/7.008, allocations: 0 / 3.148 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/7.008, allocations: 3.938 kB / 3.148 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/7.008, allocations: 23.25 kB / 3.148 GB, free: 143.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004474/7.012, allocations: 2.087 MB / 3.15 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/7.013, allocations: 142.1 kB / 3.15 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/7.013, allocations: 95.84 kB / 3.15 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/7.013, allocations: 3.438 kB / 3.15 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/7.013, allocations: 34.47 kB / 3.15 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.963e-06/7.013, allocations: 0 / 3.15 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001892/7.015, allocations: 429.1 kB / 3.15 GB, free: 142 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/7.015, allocations: 79.52 kB / 3.151 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005754/7.015, allocations: 357 kB / 3.151 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/7.015, allocations: 29.61 kB / 3.151 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/7.016, allocations: 269 kB / 3.151 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/7.016, allocations: 42.95 kB / 3.151 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/7.016, allocations: 0 / 3.151 GB, free: 141.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001107/7.016, allocations: 345.3 kB / 3.152 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/7.016, allocations: 100.7 kB / 3.152 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/7.016, allocations: 197.2 kB / 3.152 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/7.017, allocations: 131.4 kB / 3.152 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.017, allocations: 3.875 kB / 3.152 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001843/7.018, allocations: 0.5432 MB / 3.152 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/7.018, allocations: 3.969 kB / 3.152 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/7.018, allocations: 7.672 kB / 3.152 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/7.019, allocations: 127.6 kB / 3.153 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/7.019, allocations: 78.28 kB / 3.153 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/7.022, allocations: 1.735 MB / 3.154 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/7.023, allocations: 80.33 kB / 3.154 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/7.023, allocations: 18.38 kB / 3.154 GB, free: 139.9 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.0002405/7.023, allocations: 119.5 kB / 3.155 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/7.023, allocations: 38.25 kB / 3.155 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/7.023, allocations: 41.33 kB / 3.155 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/7.023, allocations: 4.781 kB / 3.155 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/7.023, allocations: 1.344 kB / 3.155 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/7.023, allocations: 0 / 3.155 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/7.026, allocations: 0.905 MB / 3.156 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/7.026, allocations: 0 / 3.156 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/7.026, allocations: 51.3 kB / 3.156 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/7.027, allocations: 131.3 kB / 3.156 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/7.027, allocations: 3.438 kB / 3.156 GB, free: 139.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/7.029, allocations: 1.723 MB / 3.157 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/7.029, allocations: 1.375 kB / 3.157 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001826/7.031, allocations: 0.5495 MB / 3.158 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002332/7.033, allocations: 0.985 MB / 3.159 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/7.034, allocations: 159.4 kB / 3.159 GB, free: 137 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/7.034, allocations: 4.625 kB / 3.159 GB, free: 137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/7.035, allocations: 65.2 kB / 3.159 GB, free: 137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/7.035, allocations: 11.64 kB / 3.159 GB, free: 137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/7.035, allocations: 15.02 kB / 3.159 GB, free: 137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005112/7.035, allocations: 269.5 kB / 3.159 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002664/7.038, allocations: 354.2 kB / 3.16 GB, free: 136.7 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.002882/7.041, allocations: 1.152 MB / 3.161 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001015/7.042, allocations: 338.3 kB / 3.161 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/7.042, allocations: 5 kB / 3.161 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/7.042, allocations: 196.1 kB / 3.161 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/7.044, allocations: 171.2 kB / 3.162 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/7.047, allocations: 0.7321 MB / 3.162 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/7.048, allocations: 0.9119 MB / 3.163 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of SimCode: time 2.785e-06/7.048, allocations: 0 / 3.163 GB, free: 135.1 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)