Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.842/0.842, allocations: 127.4 MB / 134.6 MB, free: 9.809 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 177.1 kB / 164.4 MB, free: 5.531 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.1 MB / 399.1 MB, free: 2.992 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 95.45 kB / 476.3 MB, free: 2.66 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2302/0.2313, allocations: 82.88 MB / 0.5461 GB, free: 15.73 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.8106, allocations: 76.73 MB / 0.621 GB, free: 86.52 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.123/6.934, allocations: 2.179 GB / 2.8 GB, free: 178.1 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/6.934, allocations: 96.56 kB / 2.8 GB, free: 178.1 MB / 0.6433 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 1.414/8.349, allocations: 468.4 MB / 3.258 GB, free: 18.58 MB / 0.6433 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/8.349, allocations: 15.94 kB / 3.258 GB, free: 18.56 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/8.351, allocations: 298.3 kB / 3.258 GB, free: 18.27 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/8.353, allocations: 0.8513 MB / 3.259 GB, free: 17.38 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/8.353, allocations: 24 kB / 3.259 GB, free: 17.35 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/8.353, allocations: 36 kB / 3.259 GB, free: 17.32 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00136/8.354, allocations: 0.8935 MB / 3.26 GB, free: 16.42 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/8.355, allocations: 0.8978 MB / 3.261 GB, free: 15.5 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/8.356, allocations: 3.984 kB / 3.261 GB, free: 15.5 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/8.356, allocations: 7.906 kB / 3.261 GB, free: 15.49 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-05/8.356, allocations: 77.94 kB / 3.261 GB, free: 15.41 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005427/8.361, allocations: 3.441 MB / 3.264 GB, free: 11.76 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/8.363, allocations: 0.753 MB / 3.265 GB, free: 11 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/8.363, allocations: 342.6 kB / 3.265 GB, free: 10.66 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/8.363, allocations: 214.5 kB / 3.265 GB, free: 10.41 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/8.363, allocations: 39.06 kB / 3.265 GB, free: 10.37 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/8.363, allocations: 4 kB / 3.265 GB, free: 10.36 MB / 0.6433 GB Notification: Performance of matching and sorting (n=60): time 0.001757/8.365, allocations: 0.7338 MB / 3.266 GB, free: 9.621 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/8.365, allocations: 115.3 kB / 3.266 GB, free: 9.484 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/8.366, allocations: 0.5506 MB / 3.267 GB, free: 8.926 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/8.366, allocations: 25.7 kB / 3.267 GB, free: 8.895 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/8.366, allocations: 315.7 kB / 3.267 GB, free: 8.578 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/8.366, allocations: 197 kB / 3.267 GB, free: 8.383 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/8.366, allocations: 0 / 3.267 GB, free: 8.383 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 0.0001593/8.366, allocations: 402.6 kB / 3.268 GB, free: 7.98 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/8.367, allocations: 309.4 kB / 3.268 GB, free: 7.68 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/8.367, allocations: 425.9 kB / 3.268 GB, free: 7.223 MB / 0.6433 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005667/8.373, allocations: 1.345 MB / 3.27 GB, free: 5.875 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/8.373, allocations: 0 / 3.27 GB, free: 5.875 MB / 0.6433 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.006708/8.38, allocations: 1.806 MB / 3.271 GB, free: 4.059 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/8.38, allocations: 0.703 MB / 3.272 GB, free: 3.305 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/8.38, allocations: 4 kB / 3.272 GB, free: 3.301 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/8.38, allocations: 8 kB / 3.272 GB, free: 3.293 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/8.381, allocations: 139.8 kB / 3.272 GB, free: 3.156 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/8.381, allocations: 11.89 kB / 3.272 GB, free: 3.145 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/8.382, allocations: 71.34 kB / 3.272 GB, free: 3.074 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/8.382, allocations: 31.98 kB / 3.272 GB, free: 3.043 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/8.382, allocations: 4 kB / 3.272 GB, free: 3.039 MB / 0.6433 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005929/8.388, allocations: 1.614 MB / 3.274 GB, free: 1.422 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/8.388, allocations: 4 kB / 3.274 GB, free: 1.418 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/8.388, allocations: 4 kB / 3.274 GB, free: 1.414 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/8.388, allocations: 135.8 kB / 3.274 GB, free: 1.281 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/8.388, allocations: 8.219 kB / 3.274 GB, free: 1.273 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/8.389, allocations: 67.39 kB / 3.274 GB, free: 1.207 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/8.389, allocations: 32 kB / 3.274 GB, free: 1.176 MB / 0.6433 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0002307/8.39, allocations: 112.9 kB / 3.274 GB, free: 1.059 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/8.39, allocations: 86.95 kB / 3.274 GB, free: 0.9727 MB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/8.391, allocations: 0.7567 MB / 3.275 GB, free: 216 kB / 0.6433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/8.391, allocations: 8 kB / 3.275 GB, free: 208 kB / 0.6433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/8.391, allocations: 0 / 3.275 GB, free: 208 kB / 0.6433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3716/8.763, allocations: 0.7097 MB / 3.276 GB, free: 170.3 MB / 0.6433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/8.766, allocations: 1.873 MB / 3.278 GB, free: 169.9 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/8.766, allocations: 3.969 kB / 3.278 GB, free: 169.9 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006818/8.767, allocations: 125.5 kB / 3.278 GB, free: 169.9 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/8.767, allocations: 7.594 kB / 3.278 GB, free: 169.9 MB / 0.6433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/8.767, allocations: 10.73 kB / 3.278 GB, free: 169.9 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/8.767, allocations: 10.12 kB / 3.278 GB, free: 169.9 MB / 0.6433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/8.767, allocations: 10.38 kB / 3.278 GB, free: 169.9 MB / 0.6433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001811/8.769, allocations: 1.467 MB / 3.279 GB, free: 169.5 MB / 0.6433 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002493/8.771, allocations: 2.365 MB / 3.281 GB, free: 168.7 MB / 0.6433 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/8.772, allocations: 248 kB / 3.282 GB, free: 168.5 MB / 0.6433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/8.772, allocations: 3.906 kB / 3.282 GB, free: 168.5 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007018/8.773, allocations: 45.03 kB / 3.282 GB, free: 168.5 MB / 0.6433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/8.773, allocations: 39.98 kB / 3.282 GB, free: 168.5 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/8.773, allocations: 30.03 kB / 3.282 GB, free: 168.5 MB / 0.6433 GB Notification: Performance of sort global known variables: time 0.0005521/8.774, allocations: 433.1 kB / 3.282 GB, free: 168.4 MB / 0.6433 GB Notification: Performance of remove unused functions: time 0.004522/8.778, allocations: 1.231 MB / 3.283 GB, free: 168.4 MB / 0.6433 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 62 * 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.003618/8.782, allocations: 1.954 MB / 3.285 GB, free: 168.1 MB / 0.6433 GB Notification: Performance of simCode: created initialization part: time 0.001822/8.784, allocations: 1.105 MB / 3.286 GB, free: 168 MB / 0.6433 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/8.784, allocations: 0 / 3.286 GB, free: 168 MB / 0.6433 GB Notification: Performance of simCode: created simulation system equations: time 0.0004532/8.784, allocations: 345.5 kB / 3.287 GB, free: 168 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/8.786, allocations: 428.8 kB / 3.287 GB, free: 168 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/8.79, allocations: 1.471 MB / 3.289 GB, free: 167.6 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009208/8.791, allocations: 1.189 MB / 3.29 GB, free: 166.9 MB / 0.6433 GB Notification: Performance of SimCode: time 1.583e-06/8.791, allocations: 0 / 3.29 GB, free: 166.9 MB / 0.6433 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)