Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.7065/0.7065, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001429/0.001429, allocations: 193.3 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.729/1.729, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0008728/0.0008729, allocations: 83.34 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3578/0.3587, allocations: 82.9 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.5824, allocations: 76.74 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.258/1.841, allocations: 358.4 MB / 0.971 GB, free: 123.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.841, allocations: 88.89 kB / 0.9711 GB, free: 123.4 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 2.881/4.723, allocations: 0.6416 GB / 1.613 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/4.723, allocations: 10.28 kB / 1.613 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/4.724, allocations: 217.2 kB / 1.613 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05753/4.781, allocations: 22.09 MB / 1.634 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004434/4.782, allocations: 108.6 kB / 1.635 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002827/4.782, allocations: 49.56 kB / 1.635 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001433/4.784, allocations: 443.3 kB / 1.635 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/4.786, allocations: 0.8105 MB / 1.636 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/4.786, allocations: 0 / 1.636 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/4.786, allocations: 3.781 kB / 1.636 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/4.786, allocations: 21.22 kB / 1.636 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007771/4.794, allocations: 4.343 MB / 1.64 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/4.794, allocations: 229 kB / 1.64 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/4.794, allocations: 101.2 kB / 1.64 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/4.795, allocations: 0.9907 MB / 1.641 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/4.795, allocations: 36.91 kB / 1.641 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 4.038e-06/4.795, allocations: 0 / 1.641 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.001696/4.797, allocations: 412.8 kB / 1.642 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/4.797, allocations: 60.78 kB / 1.642 GB, free: 102 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/4.798, allocations: 0.6712 MB / 1.643 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/4.798, allocations: 29.02 kB / 1.643 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/4.799, allocations: 455.1 kB / 1.643 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/4.799, allocations: 77.62 kB / 1.643 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/4.799, allocations: 3.562 kB / 1.643 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001078/4.799, allocations: 319.8 kB / 1.643 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/4.799, allocations: 106.1 kB / 1.643 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/4.8, allocations: 298.7 kB / 1.644 GB, free: 101 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/4.8, allocations: 185.9 kB / 1.644 GB, free: 101 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/4.8, allocations: 4.812 kB / 1.644 GB, free: 101 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001389/4.802, allocations: 0.5221 MB / 1.644 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/4.802, allocations: 7.875 kB / 1.644 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/4.802, allocations: 9.688 kB / 1.644 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/4.802, allocations: 120.6 kB / 1.645 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/4.803, allocations: 132.4 kB / 1.645 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/4.804, allocations: 1.731 MB / 1.646 GB, free: 99.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/4.805, allocations: 103 kB / 1.647 GB, free: 99.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/4.805, allocations: 30.78 kB / 1.647 GB, free: 99.29 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 40 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 2,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002757/4.805, allocations: 129.1 kB / 1.647 GB, free: 99.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/4.806, allocations: 92.88 kB / 1.647 GB, free: 99.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/4.807, allocations: 0.5018 MB / 1.647 GB, free: 99.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/4.807, allocations: 7.406 kB / 1.647 GB, free: 99.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/4.807, allocations: 3.906 kB / 1.647 GB, free: 99.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/4.807, allocations: 0 / 1.647 GB, free: 99.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/4.809, allocations: 0.6436 MB / 1.648 GB, free: 98.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/4.809, allocations: 2.281 kB / 1.648 GB, free: 98.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/4.809, allocations: 71.61 kB / 1.648 GB, free: 98.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/4.809, allocations: 118.1 kB / 1.648 GB, free: 98.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/4.809, allocations: 3.781 kB / 1.648 GB, free: 98.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/4.81, allocations: 1.722 MB / 1.65 GB, free: 97.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/4.81, allocations: 2.156 kB / 1.65 GB, free: 97.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00109/4.812, allocations: 0.5394 MB / 1.65 GB, free: 97.09 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001161/4.813, allocations: 0.9694 MB / 1.651 GB, free: 96.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/4.813, allocations: 216.4 kB / 1.651 GB, free: 96.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/4.813, allocations: 0 / 1.651 GB, free: 96.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007022/4.814, allocations: 98.09 kB / 1.652 GB, free: 96.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/4.814, allocations: 13.81 kB / 1.652 GB, free: 96.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/4.814, allocations: 23.05 kB / 1.652 GB, free: 96.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006513/4.815, allocations: 0.5081 MB / 1.652 GB, free: 96.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002022/4.817, allocations: 433.6 kB / 1.652 GB, free: 96.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/4.818, allocations: 0.5843 MB / 1.653 GB, free: 96.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000768/4.819, allocations: 335.2 kB / 1.653 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/4.819, allocations: 0 / 1.653 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003647/4.819, allocations: 167 kB / 1.654 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/4.821, allocations: 391 kB / 1.654 GB, free: 96.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/4.824, allocations: 1.155 MB / 1.655 GB, free: 95.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007487/4.824, allocations: 1.177 MB / 1.656 GB, free: 94.94 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/4.824, allocations: 2.516 kB / 1.656 GB, free: 94.94 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)