Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.7353/0.7353, 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.001301/0.001301, allocations: 181.3 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.984/1.984, allocations: 205.1 MB / 399.1 MB, free: 6.164 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.0009802/0.0009803, allocations: 90.27 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3787/0.3797, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.5905, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.613/6.204, allocations: 2.15 GB / 2.771 GB, free: 62.83 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/6.204, allocations: 91.94 kB / 2.771 GB, free: 62.74 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 2.584/8.789, allocations: 0.5695 GB / 3.34 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/8.789, allocations: 6.781 kB / 3.34 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/8.792, allocations: 445.1 kB / 3.341 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/8.795, allocations: 0.8044 MB / 3.341 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/8.795, allocations: 112.7 kB / 3.341 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/8.795, allocations: 48.09 kB / 3.341 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002012/8.797, allocations: 0.6818 MB / 3.342 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/8.8, allocations: 0.8152 MB / 3.343 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/8.8, allocations: 3.562 kB / 3.343 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/8.8, allocations: 6.375 kB / 3.343 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/8.8, allocations: 28.94 kB / 3.343 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007858/8.808, allocations: 3.271 MB / 3.346 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/8.809, allocations: 458.2 kB / 3.347 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/8.809, allocations: 241.8 kB / 3.347 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/8.81, allocations: 182.4 kB / 3.347 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/8.81, allocations: 44.81 kB / 3.347 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 5.089e-06/8.81, allocations: 0 / 3.347 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40): time 0.003439/8.813, allocations: 1.274 MB / 3.348 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/8.813, allocations: 55.38 kB / 3.348 GB, free: 121.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008258/8.814, allocations: 0.5186 MB / 3.349 GB, free: 121 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-05/8.814, allocations: 25.7 kB / 3.349 GB, free: 121 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/8.814, allocations: 372.4 kB / 3.349 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/8.815, allocations: 135.2 kB / 3.349 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/8.815, allocations: 0 / 3.349 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00016/8.815, allocations: 371.9 kB / 3.35 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/8.815, allocations: 212.6 kB / 3.35 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/8.816, allocations: 355.3 kB / 3.35 GB, free: 120.3 MB / 0.6511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/8.818, allocations: 0.9801 MB / 3.351 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/8.818, allocations: 0 / 3.351 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001271/8.82, allocations: 0.6333 MB / 3.352 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/8.82, allocations: 7.031 kB / 3.352 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/8.82, allocations: 3.938 kB / 3.352 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/8.82, allocations: 3.531 kB / 3.352 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/8.82, allocations: 165.4 kB / 3.352 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/8.82, allocations: 3.344 kB / 3.352 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/8.822, allocations: 91.88 kB / 3.352 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/8.822, allocations: 24.95 kB / 3.352 GB, free: 120.1 MB / 0.6511 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0002422/8.822, allocations: 120.3 kB / 3.352 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/8.822, allocations: 79.62 kB / 3.352 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/8.823, allocations: 80.55 kB / 3.352 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/8.823, allocations: 3.844 kB / 3.352 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/8.823, allocations: 0 / 3.352 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008098/8.824, allocations: 0.5179 MB / 3.353 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/8.827, allocations: 1.496 MB / 3.354 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/8.827, allocations: 3.75 kB / 3.354 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/8.828, allocations: 144.2 kB / 3.354 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/8.828, allocations: 6.438 kB / 3.355 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/8.828, allocations: 11.44 kB / 3.355 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/8.828, allocations: 3.844 kB / 3.355 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/8.828, allocations: 14.44 kB / 3.355 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001474/8.829, allocations: 1.085 MB / 3.356 GB, free: 118.9 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00213/8.831, allocations: 1.827 MB / 3.357 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005107/8.832, allocations: 223.5 kB / 3.358 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/8.832, allocations: 7.781 kB / 3.358 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/8.833, allocations: 88.41 kB / 3.358 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/8.833, allocations: 28.41 kB / 3.358 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/8.833, allocations: 29.83 kB / 3.358 GB, free: 117.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005363/8.834, allocations: 400 kB / 3.358 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00248/8.836, allocations: 467.4 kB / 3.359 GB, free: 117.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002943/8.839, allocations: 1.522 MB / 3.36 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001026/8.84, allocations: 499.8 kB / 3.361 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/8.84, allocations: 3.188 kB / 3.361 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/8.841, allocations: 232 kB / 3.361 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/8.843, allocations: 369.3 kB / 3.361 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/8.848, allocations: 1.42 MB / 3.362 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/8.849, allocations: 1.14 MB / 3.364 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/8.849, allocations: 0 / 3.364 GB, free: 116.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)