Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.7214/0.7214, allocations: 141.8 MB / 149.1 MB, free: 4.531 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 168.6 kB / 181.9 MB, free: 164 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 221.3 MB / 436 MB, free: 9.309 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.0009624/0.0009625, allocations: 100.8 kB / 0.507 GB, free: 24.11 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002672/0.002672, allocations: 275 kB / 0.5884 GB, free: 12.34 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2013/0.204, allocations: 89.65 MB / 0.676 GB, free: 2.613 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.615, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.385/4.001, allocations: 1.877 GB / 2.634 GB, free: 201.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/4.001, allocations: 88.72 kB / 2.634 GB, free: 201.6 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.7866/4.787, allocations: 262.7 MB / 2.891 GB, free: 197.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/4.788, allocations: 7.25 kB / 2.891 GB, free: 197.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/4.789, allocations: 185.5 kB / 2.891 GB, free: 197.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/4.79, allocations: 0.5107 MB / 2.892 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/4.79, allocations: 12.25 kB / 2.892 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/4.79, allocations: 27.66 kB / 2.892 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005933/4.791, allocations: 378.5 kB / 2.892 GB, free: 196.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/4.791, allocations: 446.5 kB / 2.892 GB, free: 196.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/4.791, allocations: 3.938 kB / 2.892 GB, free: 196.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/4.791, allocations: 0 / 2.892 GB, free: 196.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/4.791, allocations: 19.39 kB / 2.892 GB, free: 196.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/4.794, allocations: 1.626 MB / 2.894 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/4.794, allocations: 197 kB / 2.894 GB, free: 196.1 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/4.794, allocations: 166.1 kB / 2.894 GB, free: 196 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/4.794, allocations: 96.25 kB / 2.894 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/4.794, allocations: 37.3 kB / 2.894 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/4.794, allocations: 3.406 kB / 2.894 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=29): time 0.00157/4.796, allocations: 0.8342 MB / 2.895 GB, free: 195.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/4.796, allocations: 55.16 kB / 2.895 GB, free: 195.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/4.796, allocations: 297.9 kB / 2.896 GB, free: 195.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/4.796, allocations: 28.17 kB / 2.896 GB, free: 195.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/4.796, allocations: 217 kB / 2.896 GB, free: 195 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/4.796, allocations: 99.8 kB / 2.896 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/4.796, allocations: 0 / 2.896 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.438e-05/4.797, allocations: 346.5 kB / 2.896 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/4.797, allocations: 115.4 kB / 2.896 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/4.797, allocations: 198.5 kB / 2.897 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/4.797, allocations: 147.6 kB / 2.897 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/4.797, allocations: 0 / 2.897 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005579/4.798, allocations: 374.9 kB / 2.897 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/4.798, allocations: 3.25 kB / 2.897 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/4.798, allocations: 3.969 kB / 2.897 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/4.798, allocations: 3.969 kB / 2.897 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/4.798, allocations: 68.05 kB / 2.897 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/4.798, allocations: 3.938 kB / 2.897 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/4.799, allocations: 26.12 kB / 2.897 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/4.799, allocations: 15.53 kB / 2.897 GB, free: 194.2 MB / 0.6982 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 (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 prepare postOptimizeDAE: time 9.759e-05/4.799, allocations: 112 kB / 2.897 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/4.799, allocations: 39.75 kB / 2.897 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/4.799, allocations: 49.39 kB / 2.897 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/4.799, allocations: 11.41 kB / 2.897 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/4.799, allocations: 0 / 2.897 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003704/4.799, allocations: 364.8 kB / 2.898 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/4.801, allocations: 1.047 MB / 2.899 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/4.801, allocations: 3.281 kB / 2.899 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/4.801, allocations: 64.89 kB / 2.899 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/4.801, allocations: 5.531 kB / 2.899 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/4.801, allocations: 14.28 kB / 2.899 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/4.801, allocations: 6.469 kB / 2.899 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/4.801, allocations: 4.25 kB / 2.899 GB, free: 193.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000752/4.802, allocations: 0.7792 MB / 2.9 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00104/4.803, allocations: 1.366 MB / 2.901 GB, free: 191.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/4.803, allocations: 156.6 kB / 2.901 GB, free: 191.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/4.803, allocations: 9.656 kB / 2.901 GB, free: 191.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/4.804, allocations: 22.78 kB / 2.901 GB, free: 191.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/4.804, allocations: 22.5 kB / 2.901 GB, free: 191.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/4.804, allocations: 21.19 kB / 2.901 GB, free: 191.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001804/4.804, allocations: 225.2 kB / 2.901 GB, free: 191.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001461/4.805, allocations: 288.7 kB / 2.902 GB, free: 191.1 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.00126/4.807, allocations: 1.09 MB / 2.903 GB, free: 190.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003916/4.807, allocations: 285.5 kB / 2.903 GB, free: 190.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/4.807, allocations: 0 / 2.903 GB, free: 190.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/4.807, allocations: 147.7 kB / 2.903 GB, free: 190.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/4.808, allocations: 235.6 kB / 2.903 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/4.81, allocations: 0.7866 MB / 2.904 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/4.81, allocations: 0.9397 MB / 2.905 GB, free: 189.6 MB / 0.6982 GB Notification: Performance of SimCode: time 2.51e-07/4.81, allocations: 0 / 2.905 GB, free: 189.6 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)