Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume",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.7429/0.7429, allocations: 127.4 MB / 134.6 MB, free: 4.121 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.001386/0.001386, allocations: 185.2 kB / 164.4 MB, free: 6.871 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.132/2.132, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001221/0.001221, allocations: 94.38 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.412/0.4133, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.6269, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.399/6.026, allocations: 2.162 GB / 2.784 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/6.026, allocations: 87.95 kB / 2.784 GB, free: 4.156 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 5.832/11.86, allocations: 1.333 GB / 4.116 GB, free: 74.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/11.86, allocations: 13.09 kB / 4.116 GB, free: 74.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/11.86, allocations: 0.5262 MB / 4.117 GB, free: 74.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007011/11.87, allocations: 1.513 MB / 4.118 GB, free: 74.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/11.87, allocations: 121.9 kB / 4.119 GB, free: 74.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008879/11.87, allocations: 96.61 kB / 4.119 GB, free: 74.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004141/11.88, allocations: 1.265 MB / 4.12 GB, free: 74.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/11.88, allocations: 1.478 MB / 4.121 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.382e-05/11.88, allocations: 3.562 kB / 4.121 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/11.88, allocations: 3.25 kB / 4.121 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.445e-05/11.88, allocations: 58.14 kB / 4.121 GB, free: 73.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/11.89, allocations: 7.648 MB / 4.129 GB, free: 69.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/11.9, allocations: 0.5901 MB / 4.129 GB, free: 69.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007997/11.9, allocations: 0.5143 MB / 4.13 GB, free: 69.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/11.9, allocations: 413.1 kB / 4.13 GB, free: 69.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/11.9, allocations: 46.19 kB / 4.13 GB, free: 69.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=104): time 6.352e-06/11.9, allocations: 0 / 4.13 GB, free: 69.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.01148/11.91, allocations: 3.137 MB / 4.133 GB, free: 68.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/11.91, allocations: 63.66 kB / 4.134 GB, free: 68.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002472/11.91, allocations: 0.8839 MB / 4.134 GB, free: 68.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002748/11.91, allocations: 28.55 kB / 4.134 GB, free: 68.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/11.91, allocations: 0.5744 MB / 4.135 GB, free: 68.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005422/11.91, allocations: 384.3 kB / 4.135 GB, free: 67.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-05/11.91, allocations: 0 / 4.135 GB, free: 67.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001364/11.91, allocations: 355.8 kB / 4.136 GB, free: 67.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007788/11.91, allocations: 427.6 kB / 4.136 GB, free: 67.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/11.91, allocations: 0.7753 MB / 4.137 GB, free: 67.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/11.92, allocations: 0.6392 MB / 4.137 GB, free: 67.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/11.92, allocations: 0 / 4.137 GB, free: 67.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002888/11.92, allocations: 1.4 MB / 4.139 GB, free: 67.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007529/11.92, allocations: 3.017 MB / 4.142 GB, free: 64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/11.92, allocations: 8.688 kB / 4.142 GB, free: 64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.834e-05/11.92, allocations: 17.69 kB / 4.142 GB, free: 64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/11.92, allocations: 341.7 kB / 4.142 GB, free: 64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.732e-05/11.92, allocations: 23.78 kB / 4.142 GB, free: 64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/11.92, allocations: 192.9 kB / 4.142 GB, free: 63.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/11.92, allocations: 58.31 kB / 4.142 GB, free: 63.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/11.92, allocations: 6.125 kB / 4.142 GB, free: 63.99 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002193/11.93, allocations: 1.137 MB / 4.143 GB, free: 63.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/11.93, allocations: 8.188 kB / 4.144 GB, free: 63.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/11.93, allocations: 14.66 kB / 4.144 GB, free: 63.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/11.93, allocations: 288.7 kB / 4.144 GB, free: 63.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.81e-05/11.93, allocations: 16.09 kB / 4.144 GB, free: 63.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/11.93, allocations: 149.7 kB / 4.144 GB, free: 63.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/11.93, allocations: 58.78 kB / 4.144 GB, free: 63.96 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0005583/11.93, allocations: 140.2 kB / 4.144 GB, free: 63.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/11.93, allocations: 154.7 kB / 4.144 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/11.93, allocations: 1.228 MB / 4.145 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/11.93, allocations: 9.688 kB / 4.145 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/11.93, allocations: 0 / 4.145 GB, free: 63.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001921/11.94, allocations: 1.162 MB / 4.147 GB, free: 63.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007648/11.94, allocations: 2.771 MB / 4.149 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/11.94, allocations: 1.094 kB / 4.149 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/11.95, allocations: 322.4 kB / 4.15 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.54e-05/11.95, allocations: 7.531 kB / 4.15 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/11.95, allocations: 21.56 kB / 4.15 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/11.95, allocations: 3.969 kB / 4.15 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/11.95, allocations: 3.656 kB / 4.15 GB, free: 63.07 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004164/11.95, allocations: 2.01 MB / 4.152 GB, free: 62.64 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005695/11.96, allocations: 3.199 MB / 4.155 GB, free: 61.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/11.96, allocations: 346.1 kB / 4.155 GB, free: 61.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006285/11.96, allocations: 9.516 kB / 4.155 GB, free: 61.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/11.96, allocations: 182.6 kB / 4.155 GB, free: 61.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/11.96, allocations: 64.72 kB / 4.155 GB, free: 61.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/11.96, allocations: 43.34 kB / 4.155 GB, free: 61.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001608/11.96, allocations: 0.666 MB / 4.156 GB, free: 61.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009053/11.97, allocations: 1.706 MB / 4.158 GB, free: 61.55 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.006533/11.98, allocations: 3.401 MB / 4.161 GB, free: 60.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004462/11.98, allocations: 1.721 MB / 4.163 GB, free: 60.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/11.98, allocations: 2.906 kB / 4.163 GB, free: 60.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/11.99, allocations: 0.5285 MB / 4.163 GB, free: 60.26 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006178/11.99, allocations: 0.8309 MB / 4.164 GB, free: 60.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009761/12, allocations: 3.06 MB / 4.167 GB, free: 59.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002763/12, allocations: 1.688 MB / 4.169 GB, free: 58.82 MB / 0.7136 GB Notification: Performance of SimCode: time 2.394e-06/12, allocations: 0 / 4.169 GB, free: 58.82 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)