Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.7765/0.7765, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001099/0.001099, allocations: 185.2 kB / 164.4 MB, free: 6.879 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.823/1.823, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.0009634/0.0009636, allocations: 82.66 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3366/0.3376, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.5099, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.132/5.642, allocations: 2.161 GB / 2.782 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/5.643, allocations: 89.58 kB / 2.782 GB, free: 51.21 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 2.669/8.311, allocations: 0.5878 GB / 3.37 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/8.312, allocations: 7.812 kB / 3.37 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/8.313, allocations: 228.3 kB / 3.37 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/8.316, allocations: 0.6859 MB / 3.371 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/8.316, allocations: 25.25 kB / 3.371 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/8.316, allocations: 48.81 kB / 3.371 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/8.317, allocations: 0.5256 MB / 3.371 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/8.319, allocations: 0.7862 MB / 3.372 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/8.319, allocations: 5.156 kB / 3.372 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/8.319, allocations: 5.688 kB / 3.372 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/8.319, allocations: 30.06 kB / 3.372 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/8.324, allocations: 4.212 MB / 3.376 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/8.324, allocations: 431.9 kB / 3.377 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/8.325, allocations: 205.6 kB / 3.377 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/8.325, allocations: 188.3 kB / 3.377 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/8.325, allocations: 45.16 kB / 3.377 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/8.325, allocations: 0 / 3.377 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.002475/8.327, allocations: 1.086 MB / 3.378 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/8.328, allocations: 57.53 kB / 3.378 GB, free: 101 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/8.328, allocations: 441.2 kB / 3.379 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/8.328, allocations: 25.7 kB / 3.379 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/8.328, allocations: 355 kB / 3.379 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/8.328, allocations: 151 kB / 3.379 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/8.328, allocations: 0 / 3.379 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001184/8.329, allocations: 373.2 kB / 3.38 GB, free: 100.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/8.329, allocations: 165.1 kB / 3.38 GB, free: 100.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/8.329, allocations: 390.1 kB / 3.38 GB, free: 100 MB / 0.6355 GB 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.00145/8.331, allocations: 0.6304 MB / 3.381 GB, free: 99.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/8.331, allocations: 2.906 kB / 3.381 GB, free: 99.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008008/8.331, allocations: 0.5764 MB / 3.381 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/8.331, allocations: 3.969 kB / 3.381 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/8.331, allocations: 7.469 kB / 3.381 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/8.332, allocations: 11.38 kB / 3.381 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/8.332, allocations: 121.5 kB / 3.381 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/8.332, allocations: 11.31 kB / 3.381 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/8.333, allocations: 36.14 kB / 3.381 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/8.333, allocations: 29.16 kB / 3.382 GB, free: 99.84 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0001387/8.333, allocations: 123.2 kB / 3.382 GB, free: 99.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/8.333, allocations: 71.59 kB / 3.382 GB, free: 99.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/8.333, allocations: 78.38 kB / 3.382 GB, free: 99.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/8.333, allocations: 3.062 kB / 3.382 GB, free: 99.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/8.333, allocations: 0 / 3.382 GB, free: 99.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006093/8.334, allocations: 0.6649 MB / 3.382 GB, free: 99.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/8.336, allocations: 1.3 MB / 3.384 GB, free: 98.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/8.336, allocations: 6.938 kB / 3.384 GB, free: 98.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/8.336, allocations: 103.1 kB / 3.384 GB, free: 98.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/8.336, allocations: 11.19 kB / 3.384 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/8.336, allocations: 5.75 kB / 3.384 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/8.336, allocations: 11.95 kB / 3.384 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/8.336, allocations: 5.562 kB / 3.384 GB, free: 98.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001172/8.338, allocations: 0.9798 MB / 3.385 GB, free: 98.32 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001872/8.339, allocations: 1.657 MB / 3.386 GB, free: 97.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/8.34, allocations: 187 kB / 3.387 GB, free: 97.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/8.34, allocations: 10.95 kB / 3.387 GB, free: 97.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/8.34, allocations: 33 kB / 3.387 GB, free: 97.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/8.34, allocations: 34.27 kB / 3.387 GB, free: 97.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/8.34, allocations: 20.64 kB / 3.387 GB, free: 97.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003721/8.341, allocations: 329.3 kB / 3.387 GB, free: 97.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00224/8.343, allocations: 0.4895 MB / 3.387 GB, free: 97.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.002885/8.346, allocations: 1.922 MB / 3.389 GB, free: 96.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009629/8.347, allocations: 428.4 kB / 3.39 GB, free: 96.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/8.347, allocations: 3.062 kB / 3.39 GB, free: 96.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/8.347, allocations: 194.8 kB / 3.39 GB, free: 96.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/8.349, allocations: 295.8 kB / 3.39 GB, free: 96.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/8.352, allocations: 1.244 MB / 3.391 GB, free: 96.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/8.352, allocations: 1.118 MB / 3.393 GB, free: 95.55 MB / 0.6355 GB Notification: Performance of SimCode: time 1.362e-06/8.352, allocations: 0 / 3.393 GB, free: 95.55 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)