Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.7685/0.7685, allocations: 141.8 MB / 149.1 MB, free: 11.94 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.001086/0.001086, allocations: 181.3 kB / 181.9 MB, free: 8.723 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.368/1.368, allocations: 221.3 MB / 436 MB, free: 0.9609 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.0009798/0.0009798, allocations: 96.58 kB / 0.507 GB, free: 9.961 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 275.7 kB / 0.5884 GB, free: 6.77 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1874/0.1895, allocations: 89.64 MB / 0.676 GB, free: 13.04 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.5427, allocations: 82.76 MB / 0.7568 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.368/3.911, allocations: 1.881 GB / 2.638 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/3.911, allocations: 92.91 kB / 2.638 GB, free: 144.8 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 1.023/4.935, allocations: 372.5 MB / 3.002 GB, free: 42.46 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/4.935, allocations: 9.25 kB / 3.002 GB, free: 42.45 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/4.936, allocations: 183 kB / 3.002 GB, free: 42.27 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/4.937, allocations: 0.556 MB / 3.002 GB, free: 41.67 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/4.937, allocations: 16 kB / 3.002 GB, free: 41.66 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/4.937, allocations: 24 kB / 3.002 GB, free: 41.63 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006935/4.938, allocations: 353.9 kB / 3.003 GB, free: 41.29 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/4.939, allocations: 372.5 kB / 3.003 GB, free: 40.91 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/4.939, allocations: 0 / 3.003 GB, free: 40.91 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/4.939, allocations: 0 / 3.003 GB, free: 40.91 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/4.939, allocations: 13 kB / 3.003 GB, free: 40.9 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/4.942, allocations: 1.968 MB / 3.005 GB, free: 38.78 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/4.942, allocations: 177.6 kB / 3.005 GB, free: 38.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/4.942, allocations: 166.1 kB / 3.005 GB, free: 38.44 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/4.943, allocations: 194.2 kB / 3.006 GB, free: 38.21 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/4.943, allocations: 34.56 kB / 3.006 GB, free: 38.17 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/4.943, allocations: 0 / 3.006 GB, free: 38.17 MB / 0.6982 GB Notification: Performance of matching and sorting (n=30): time 0.001181/4.944, allocations: 390.7 kB / 3.006 GB, free: 37.78 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/4.944, allocations: 51.41 kB / 3.006 GB, free: 37.71 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/4.944, allocations: 333.1 kB / 3.006 GB, free: 37.38 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/4.944, allocations: 25.7 kB / 3.006 GB, free: 37.35 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/4.945, allocations: 216.1 kB / 3.007 GB, free: 37.14 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.632e-05/4.945, allocations: 102.4 kB / 3.007 GB, free: 37.04 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/4.945, allocations: 0 / 3.007 GB, free: 37.04 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/4.945, allocations: 362.7 kB / 3.007 GB, free: 36.67 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/4.945, allocations: 115.7 kB / 3.007 GB, free: 36.56 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/4.945, allocations: 193.1 kB / 3.007 GB, free: 36.34 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/4.945, allocations: 133.3 kB / 3.007 GB, free: 36.21 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/4.945, allocations: 0 / 3.007 GB, free: 36.21 MB / 0.6982 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004679/4.946, allocations: 356.9 kB / 3.008 GB, free: 35.85 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/4.946, allocations: 0.5293 MB / 3.008 GB, free: 35.28 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/4.946, allocations: 4 kB / 3.008 GB, free: 35.28 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/4.946, allocations: 7.984 kB / 3.008 GB, free: 35.27 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/4.946, allocations: 67.91 kB / 3.008 GB, free: 35.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/4.946, allocations: 4 kB / 3.008 GB, free: 35.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/4.947, allocations: 47.72 kB / 3.008 GB, free: 35.15 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/4.947, allocations: 23.92 kB / 3.008 GB, free: 35.13 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/4.947, allocations: 6.812 kB / 3.008 GB, free: 35.12 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003815/4.947, allocations: 275.9 kB / 3.009 GB, free: 34.86 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/4.947, allocations: 0 / 3.009 GB, free: 34.86 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/4.947, allocations: 4 kB / 3.009 GB, free: 34.85 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/4.948, allocations: 71.89 kB / 3.009 GB, free: 34.78 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/4.948, allocations: 3.938 kB / 3.009 GB, free: 34.78 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/4.948, allocations: 51.75 kB / 3.009 GB, free: 34.73 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/4.948, allocations: 19.98 kB / 3.009 GB, free: 34.71 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.133e-05/4.948, allocations: 108.9 kB / 3.009 GB, free: 34.59 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/4.948, allocations: 51.44 kB / 3.009 GB, free: 34.54 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/4.949, allocations: 370.9 kB / 3.009 GB, free: 34.17 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/4.949, allocations: 4 kB / 3.009 GB, free: 34.17 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/4.949, allocations: 0 / 3.009 GB, free: 34.17 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004369/4.95, allocations: 393.7 kB / 3.01 GB, free: 33.75 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/4.951, allocations: 1.021 MB / 3.011 GB, free: 32.66 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/4.951, allocations: 8.031 kB / 3.011 GB, free: 32.65 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/4.951, allocations: 63.89 kB / 3.011 GB, free: 32.59 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002119/4.951, allocations: 52.73 kB / 3.011 GB, free: 32.54 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/4.952, allocations: 4 kB / 3.011 GB, free: 32.53 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009427/4.952, allocations: 1.393 MB / 3.012 GB, free: 31.02 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/4.952, allocations: 4 kB / 3.012 GB, free: 31.02 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007293/4.953, allocations: 0.7413 MB / 3.013 GB, free: 30.19 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001116/4.954, allocations: 1.339 MB / 3.014 GB, free: 28.76 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/4.955, allocations: 164.4 kB / 3.014 GB, free: 28.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/4.955, allocations: 4.062 kB / 3.014 GB, free: 28.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/4.955, allocations: 43.81 kB / 3.014 GB, free: 28.54 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/4.955, allocations: 23.97 kB / 3.014 GB, free: 28.51 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/4.955, allocations: 8 kB / 3.014 GB, free: 28.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0002332/4.955, allocations: 259.2 kB / 3.015 GB, free: 28.26 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002872/4.958, allocations: 0.6242 MB / 3.015 GB, free: 27.63 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001836/4.96, allocations: 1.274 MB / 3.017 GB, free: 26.34 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007742/4.961, allocations: 442.1 kB / 3.017 GB, free: 25.91 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/4.961, allocations: 4 kB / 3.017 GB, free: 25.91 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/4.961, allocations: 263.5 kB / 3.017 GB, free: 25.64 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/4.963, allocations: 264.4 kB / 3.017 GB, free: 25.39 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/4.965, allocations: 0.8237 MB / 3.018 GB, free: 24.51 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006526/4.966, allocations: 0.9605 MB / 3.019 GB, free: 23.53 MB / 0.6982 GB Notification: Performance of SimCode: time 4.51e-07/4.966, allocations: 0 / 3.019 GB, free: 23.53 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)