Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.7868/0.7868, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001302/0.001302, allocations: 181.3 kB / 164.4 MB, free: 6.898 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.896/1.896, allocations: 205.1 MB / 399.1 MB, free: 6.109 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.001088/0.001088, allocations: 86.45 kB / 476.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3529/0.354, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.5667, allocations: 76.74 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.402/6.969, allocations: 2.395 GB / 3.016 GB, free: 58.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/6.969, allocations: 95.94 kB / 3.016 GB, free: 58.39 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 2.026/8.995, allocations: 480 MB / 3.485 GB, free: 73.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/8.995, allocations: 11.98 kB / 3.485 GB, free: 73.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004384/9, allocations: 0.4951 MB / 3.486 GB, free: 72.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/9.004, allocations: 1.423 MB / 3.487 GB, free: 71.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.308e-05/9.004, allocations: 32 kB / 3.487 GB, free: 71.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004086/9.005, allocations: 63.91 kB / 3.487 GB, free: 71.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002564/9.007, allocations: 1.187 MB / 3.488 GB, free: 69.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/9.01, allocations: 1.155 MB / 3.489 GB, free: 68.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/9.01, allocations: 3.984 kB / 3.489 GB, free: 68.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/9.01, allocations: 7.938 kB / 3.489 GB, free: 68.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/9.01, allocations: 42 kB / 3.489 GB, free: 68.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007846/9.018, allocations: 4.791 MB / 3.494 GB, free: 63.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/9.019, allocations: 0.9733 MB / 3.495 GB, free: 62.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/9.02, allocations: 0.5265 MB / 3.495 GB, free: 61.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004239/9.02, allocations: 287.9 kB / 3.496 GB, free: 61.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/9.021, allocations: 47.2 kB / 3.496 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=76): time 3.737e-06/9.021, allocations: 0 / 3.496 GB, free: 61.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.006438/9.027, allocations: 2.582 MB / 3.498 GB, free: 58.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/9.027, allocations: 60.06 kB / 3.498 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/9.028, allocations: 0.7824 MB / 3.499 GB, free: 58.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/9.029, allocations: 25.7 kB / 3.499 GB, free: 57.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/9.029, allocations: 407.6 kB / 3.5 GB, free: 57.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/9.029, allocations: 272 kB / 3.5 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/9.029, allocations: 0 / 3.5 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/9.029, allocations: 341.9 kB / 3.5 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/9.03, allocations: 425.3 kB / 3.501 GB, free: 56.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/9.03, allocations: 0.5694 MB / 3.501 GB, free: 55.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006862/9.031, allocations: 0.5353 MB / 3.502 GB, free: 55.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/9.031, allocations: 0 / 3.502 GB, free: 55.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001948/9.033, allocations: 1.249 MB / 3.503 GB, free: 54.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003225/9.033, allocations: 0.88 MB / 3.504 GB, free: 53.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/9.033, allocations: 4 kB / 3.504 GB, free: 53.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/9.034, allocations: 52.83 kB / 3.504 GB, free: 53.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002335/9.036, allocations: 363.5 kB / 3.504 GB, free: 52.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/9.039, allocations: 2.962 MB / 3.507 GB, free: 49.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/9.041, allocations: 103.7 kB / 3.507 GB, free: 49.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/9.042, allocations: 32.05 kB / 3.507 GB, free: 49.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/9.042, allocations: 4 kB / 3.507 GB, free: 49.48 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001471/9.043, allocations: 1.096 MB / 3.508 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/9.043, allocations: 4 kB / 3.508 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/9.043, allocations: 56.83 kB / 3.508 GB, free: 48.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000739/9.044, allocations: 159.8 kB / 3.508 GB, free: 48.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/9.045, allocations: 1.646 MB / 3.51 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/9.047, allocations: 95.64 kB / 3.51 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/9.047, allocations: 32.06 kB / 3.51 GB, free: 46.25 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003504/9.048, allocations: 120.8 kB / 3.51 GB, free: 46.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/9.048, allocations: 102.8 kB / 3.51 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/9.049, allocations: 142.3 kB / 3.51 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/9.049, allocations: 8 kB / 3.51 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/9.049, allocations: 0 / 3.51 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001591/9.05, allocations: 1.28 MB / 3.512 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/9.055, allocations: 2.648 MB / 3.514 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/9.055, allocations: 0 / 3.514 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/9.058, allocations: 427.7 kB / 3.515 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/9.058, allocations: 52.83 kB / 3.515 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/9.058, allocations: 23.92 kB / 3.515 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005034/9.063, allocations: 4.427 MB / 3.519 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/9.063, allocations: 0 / 3.519 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00262/9.066, allocations: 2.029 MB / 3.521 GB, free: 34.39 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00375/9.07, allocations: 3.152 MB / 3.524 GB, free: 31.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/9.071, allocations: 327.9 kB / 3.525 GB, free: 30.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/9.071, allocations: 11.98 kB / 3.525 GB, free: 30.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/9.073, allocations: 103.7 kB / 3.525 GB, free: 30.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/9.073, allocations: 48.5 kB / 3.525 GB, free: 30.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/9.073, allocations: 27.98 kB / 3.525 GB, free: 30.61 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001091/9.074, allocations: 0.6241 MB / 3.525 GB, free: 29.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004992/9.079, allocations: 0.9883 MB / 3.526 GB, free: 28.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002559/9.082, allocations: 1.519 MB / 3.528 GB, free: 27.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004855/9.086, allocations: 2.038 MB / 3.53 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/9.087, allocations: 0 / 3.53 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/9.089, allocations: 0.9028 MB / 3.531 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/9.094, allocations: 0.698 MB / 3.531 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/9.1, allocations: 2.64 MB / 3.534 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002085/9.102, allocations: 1.578 MB / 3.535 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of SimCode: time 3.457e-06/9.102, allocations: 0 / 3.535 GB, free: 19.43 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)