Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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/BuildingSystems 2.0.0-master/package.mo): time 0.7692/0.7692, allocations: 141.8 MB / 149.1 MB, free: 3.094 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 181.2 kB / 181.9 MB, free: 4.262 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.3 MB / 436 MB, free: 4.215 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 89.31 kB / 0.507 GB, free: 2.316 MB / 386.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 270.6 kB / 0.5884 GB, free: 14.91 MB / 482.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2956/0.2973, allocations: 89.65 MB / 0.676 GB, free: 138.8 MB / 498.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.4456, allocations: 82.77 MB / 0.7568 GB, free: 56.44 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.517/3.963, allocations: 1.89 GB / 2.647 GB, free: 37.89 MB / 0.6903 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/3.963, allocations: 95.92 kB / 2.647 GB, free: 37.8 MB / 0.6903 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 3.894/7.857, allocations: 1.1 GB / 3.747 GB, free: 166.8 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/7.857, allocations: 7.344 kB / 3.747 GB, free: 166.8 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/7.861, allocations: 0.5258 MB / 3.748 GB, free: 166.7 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/7.864, allocations: 1.55 MB / 3.749 GB, free: 166.4 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/7.865, allocations: 46.88 kB / 3.749 GB, free: 166.4 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/7.865, allocations: 92.53 kB / 3.749 GB, free: 166.4 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002357/7.867, allocations: 1.231 MB / 3.751 GB, free: 166.4 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/7.87, allocations: 1.503 MB / 3.752 GB, free: 166.1 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.407e-05/7.87, allocations: 10.75 kB / 3.752 GB, free: 166.1 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/7.87, allocations: 3.625 kB / 3.752 GB, free: 166.1 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/7.87, allocations: 55.09 kB / 3.752 GB, free: 166.1 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008521/7.878, allocations: 7.127 MB / 3.759 GB, free: 162.2 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/7.879, allocations: 0.741 MB / 3.76 GB, free: 162 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/7.88, allocations: 0.6509 MB / 3.76 GB, free: 162 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/7.88, allocations: 115.4 kB / 3.761 GB, free: 161.9 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/7.88, allocations: 56.88 kB / 3.761 GB, free: 161.8 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=106): time 3.266e-06/7.88, allocations: 0 / 3.761 GB, free: 161.8 MB / 0.7059 GB Notification: Performance of matching and sorting (n=112): time 0.006038/7.886, allocations: 3.615 MB / 3.764 GB, free: 160.6 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/7.886, allocations: 170.7 kB / 3.764 GB, free: 160.4 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/7.887, allocations: 0.7772 MB / 3.765 GB, free: 160.3 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/7.887, allocations: 31.92 kB / 3.765 GB, free: 160.2 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/7.888, allocations: 0.5237 MB / 3.766 GB, free: 160 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/7.888, allocations: 388.4 kB / 3.766 GB, free: 159.8 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/7.888, allocations: 0 / 3.766 GB, free: 159.8 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/7.888, allocations: 356.6 kB / 3.766 GB, free: 159.5 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/7.889, allocations: 487.7 kB / 3.767 GB, free: 159.5 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/7.89, allocations: 0.8021 MB / 3.768 GB, free: 159.1 MB / 0.7059 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01903/7.909, allocations: 4.14 MB / 3.772 GB, free: 158.8 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/7.909, allocations: 3.188 kB / 3.772 GB, free: 158.8 MB / 0.7059 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002656/7.911, allocations: 1.429 MB / 3.773 GB, free: 158.7 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/7.911, allocations: 6.25 kB / 3.773 GB, free: 158.7 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/7.911, allocations: 6.969 kB / 3.773 GB, free: 158.7 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-05/7.911, allocations: 17.03 kB / 3.773 GB, free: 158.7 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/7.913, allocations: 285 kB / 3.773 GB, free: 158.7 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/7.913, allocations: 18.31 kB / 3.773 GB, free: 158.7 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/7.915, allocations: 67.73 kB / 3.773 GB, free: 158.7 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/7.915, allocations: 58 kB / 3.773 GB, free: 158.7 MB / 0.7059 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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.0003566/7.915, allocations: 147.4 kB / 3.774 GB, free: 158.6 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/7.916, allocations: 149.3 kB / 3.774 GB, free: 158.5 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/7.918, allocations: 1.165 MB / 3.775 GB, free: 158.4 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/7.918, allocations: 17.84 kB / 3.775 GB, free: 158.4 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/7.918, allocations: 2.844 kB / 3.775 GB, free: 158.4 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/7.919, allocations: 1.162 MB / 3.776 GB, free: 158.1 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005093/7.924, allocations: 3.491 MB / 3.779 GB, free: 157.1 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/7.924, allocations: 12.5 kB / 3.779 GB, free: 157.1 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/7.925, allocations: 252.7 kB / 3.78 GB, free: 157.1 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/7.925, allocations: 17.78 kB / 3.78 GB, free: 157.1 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/7.926, allocations: 26.03 kB / 3.78 GB, free: 157.1 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/7.926, allocations: 24.09 kB / 3.78 GB, free: 157.1 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/7.926, allocations: 18.88 kB / 3.78 GB, free: 157.1 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002367/7.928, allocations: 2.655 MB / 3.782 GB, free: 155.8 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003516/7.931, allocations: 3.809 MB / 3.786 GB, free: 154.1 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007107/7.932, allocations: 331.6 kB / 3.786 GB, free: 154 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/7.932, allocations: 20.86 kB / 3.786 GB, free: 154 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/7.934, allocations: 76.39 kB / 3.786 GB, free: 154 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/7.934, allocations: 85.72 kB / 3.787 GB, free: 154 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-05/7.934, allocations: 55.61 kB / 3.787 GB, free: 154 MB / 0.7059 GB Notification: Performance of sort global known variables: time 0.0007312/7.935, allocations: 0.5784 MB / 3.787 GB, free: 153.8 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.002792/7.937, allocations: 0.7814 MB / 3.788 GB, free: 153.8 MB / 0.7059 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.002967/7.94, allocations: 2.335 MB / 3.79 GB, free: 153.2 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.001871/7.942, allocations: 1.139 MB / 3.791 GB, free: 153.2 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/7.942, allocations: 3.25 kB / 3.791 GB, free: 153.2 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/7.943, allocations: 0.5225 MB / 3.792 GB, free: 153.2 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/7.946, allocations: 0.6719 MB / 3.793 GB, free: 153.2 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/7.951, allocations: 2.737 MB / 3.795 GB, free: 152.3 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/7.952, allocations: 1.549 MB / 3.797 GB, free: 151.5 MB / 0.7059 GB Notification: Performance of SimCode: time 9.41e-07/7.952, allocations: 1.781 kB / 3.797 GB, free: 151.5 MB / 0.7059 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)