Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.7042/0.7042, allocations: 141.8 MB / 149.1 MB, free: 14.19 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 181.2 kB / 182 MB, free: 10.75 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 436 MB, free: 3.281 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009526/0.0009526, allocations: 94.97 kB / 0.507 GB, free: 18.23 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 274.5 kB / 0.5885 GB, free: 4.703 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4113/0.4132, allocations: 89.64 MB / 0.676 GB, free: 137.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.5763, allocations: 82.78 MB / 0.7568 GB, free: 84.8 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.847/4.423, allocations: 2.126 GB / 2.883 GB, free: 253.6 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/4.424, allocations: 102 kB / 2.883 GB, free: 253.5 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 1.941/6.364, allocations: 0.7144 GB / 3.597 GB, free: 86.89 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/6.364, allocations: 8 kB / 3.597 GB, free: 86.88 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/6.368, allocations: 0.5038 MB / 3.598 GB, free: 86.38 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/6.371, allocations: 1.358 MB / 3.599 GB, free: 84.99 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/6.371, allocations: 32 kB / 3.599 GB, free: 84.96 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/6.371, allocations: 67.91 kB / 3.599 GB, free: 84.89 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002092/6.374, allocations: 1.23 MB / 3.601 GB, free: 83.66 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/6.376, allocations: 1.179 MB / 3.602 GB, free: 82.45 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/6.376, allocations: 0 / 3.602 GB, free: 82.45 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/6.376, allocations: 3.984 kB / 3.602 GB, free: 82.45 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/6.376, allocations: 46.05 kB / 3.602 GB, free: 82.4 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006781/6.383, allocations: 4.934 MB / 3.607 GB, free: 77.16 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/6.384, allocations: 1.018 MB / 3.608 GB, free: 76.14 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/6.384, allocations: 0.5948 MB / 3.608 GB, free: 75.54 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/6.385, allocations: 202.5 kB / 3.608 GB, free: 75.31 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/6.385, allocations: 51.25 kB / 3.608 GB, free: 75.25 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=81): time 2.374e-06/6.385, allocations: 7.844 kB / 3.608 GB, free: 75.25 MB / 0.7138 GB Notification: Performance of matching and sorting (n=84): time 0.004849/6.39, allocations: 2.648 MB / 3.611 GB, free: 72.54 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/6.39, allocations: 66.92 kB / 3.611 GB, free: 72.46 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007912/6.391, allocations: 0.7785 MB / 3.612 GB, free: 71.66 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/6.391, allocations: 25.7 kB / 3.612 GB, free: 71.63 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/6.391, allocations: 404 kB / 3.612 GB, free: 71.23 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/6.391, allocations: 291.6 kB / 3.612 GB, free: 70.94 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/6.391, allocations: 8 kB / 3.612 GB, free: 70.93 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/6.391, allocations: 337.9 kB / 3.613 GB, free: 70.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/6.392, allocations: 453.3 kB / 3.613 GB, free: 70.16 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/6.392, allocations: 0.5959 MB / 3.614 GB, free: 69.5 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/6.393, allocations: 0.5665 MB / 3.614 GB, free: 68.94 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/6.393, allocations: 0 / 3.614 GB, free: 68.94 MB / 0.7138 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001452/6.394, allocations: 1.224 MB / 3.616 GB, free: 67.7 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/6.394, allocations: 0.7854 MB / 3.616 GB, free: 66.86 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/6.394, allocations: 4 kB / 3.616 GB, free: 66.86 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/6.394, allocations: 76.75 kB / 3.616 GB, free: 66.78 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/6.395, allocations: 183.2 kB / 3.617 GB, free: 66.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/6.397, allocations: 2.91 MB / 3.619 GB, free: 63.53 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/6.398, allocations: 99.7 kB / 3.62 GB, free: 63.43 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/6.399, allocations: 32.23 kB / 3.62 GB, free: 63.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/6.399, allocations: 10.97 kB / 3.62 GB, free: 63.39 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/6.4, allocations: 1.091 MB / 3.621 GB, free: 62.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/6.4, allocations: 4 kB / 3.621 GB, free: 62.29 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/6.4, allocations: 73.06 kB / 3.621 GB, free: 62.22 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/6.401, allocations: 171.2 kB / 3.621 GB, free: 62.05 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/6.402, allocations: 1.718 MB / 3.623 GB, free: 60.22 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/6.403, allocations: 95.8 kB / 3.623 GB, free: 60.13 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/6.403, allocations: 35.97 kB / 3.623 GB, free: 60.09 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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.0001946/6.404, allocations: 124.7 kB / 3.623 GB, free: 59.96 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/6.404, allocations: 110.7 kB / 3.623 GB, free: 59.86 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/6.405, allocations: 1.19 MB / 3.624 GB, free: 58.65 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/6.405, allocations: 12 kB / 3.624 GB, free: 58.64 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/6.405, allocations: 8.094 kB / 3.624 GB, free: 58.63 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00124/6.407, allocations: 1.272 MB / 3.625 GB, free: 57.3 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/6.411, allocations: 2.724 MB / 3.628 GB, free: 54.52 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/6.411, allocations: 4 kB / 3.628 GB, free: 54.52 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/6.412, allocations: 228 kB / 3.628 GB, free: 54.29 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/6.412, allocations: 72.75 kB / 3.628 GB, free: 54.22 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/6.412, allocations: 19.89 kB / 3.628 GB, free: 54.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/6.414, allocations: 2.892 MB / 3.631 GB, free: 51.14 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/6.414, allocations: 11.91 kB / 3.631 GB, free: 51.13 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002124/6.416, allocations: 2.115 MB / 3.633 GB, free: 48.93 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002936/6.419, allocations: 3.32 MB / 3.636 GB, free: 45.52 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006403/6.42, allocations: 327.8 kB / 3.637 GB, free: 45.18 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/6.42, allocations: 7.984 kB / 3.637 GB, free: 45.17 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/6.421, allocations: 87.66 kB / 3.637 GB, free: 45.09 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/6.421, allocations: 48.59 kB / 3.637 GB, free: 45.04 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/6.421, allocations: 31.98 kB / 3.637 GB, free: 45 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0007089/6.422, allocations: 0.6163 MB / 3.638 GB, free: 44.38 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.004231/6.426, allocations: 1.039 MB / 3.639 GB, free: 43.34 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (79): * Single equations (assignments): 76 * 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.001952/6.428, allocations: 1.531 MB / 3.64 GB, free: 41.93 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002787/6.431, allocations: 1.903 MB / 3.642 GB, free: 40 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/6.431, allocations: 128 / 3.642 GB, free: 40 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/6.432, allocations: 0.676 MB / 3.643 GB, free: 39.32 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/6.435, allocations: 0.7012 MB / 3.643 GB, free: 38.63 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/6.439, allocations: 2.699 MB / 3.646 GB, free: 35.88 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/6.441, allocations: 1.597 MB / 3.647 GB, free: 34.25 MB / 0.7138 GB Notification: Performance of SimCode: time 7.82e-07/6.441, allocations: 0 / 3.647 GB, free: 34.25 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)