Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",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.7228/0.7228, allocations: 141.8 MB / 149.1 MB, free: 13.32 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.001246/0.001246, allocations: 178.7 kB / 181.9 MB, free: 10 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.307/1.307, allocations: 221.4 MB / 436 MB, free: 2.457 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.0009632/0.0009629, allocations: 99.23 kB / 0.507 GB, free: 17.68 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 281.6 kB / 0.5884 GB, free: 3.984 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.372/0.3738, allocations: 89.64 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.53, allocations: 82.78 MB / 0.7568 GB, free: 83.46 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.439/3.969, allocations: 1.825 GB / 2.582 GB, free: 157.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/3.97, allocations: 87.94 kB / 2.582 GB, free: 157.1 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.7444/4.714, allocations: 217.4 MB / 2.794 GB, free: 204.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/4.714, allocations: 12.66 kB / 2.794 GB, free: 204.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/4.714, allocations: 55.09 kB / 2.794 GB, free: 204.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/4.715, allocations: 288.5 kB / 2.794 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/4.715, allocations: 7.312 kB / 2.794 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/4.715, allocations: 7.281 kB / 2.794 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002479/4.715, allocations: 149.5 kB / 2.795 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/4.716, allocations: 203.3 kB / 2.795 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/4.716, allocations: 0 / 2.795 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/4.716, allocations: 3.906 kB / 2.795 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/4.716, allocations: 5.594 kB / 2.795 GB, free: 203.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/4.717, allocations: 0.8502 MB / 2.796 GB, free: 203.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/4.718, allocations: 123.5 kB / 2.796 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/4.718, allocations: 101.1 kB / 2.796 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/4.718, allocations: 190.8 kB / 2.796 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/4.718, allocations: 34.38 kB / 2.796 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/4.718, allocations: 0 / 2.796 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=14): time 0.0005972/4.719, allocations: 223.8 kB / 2.796 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/4.719, allocations: 59.25 kB / 2.796 GB, free: 203.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/4.719, allocations: 159.6 kB / 2.797 GB, free: 203 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/4.719, allocations: 25.7 kB / 2.797 GB, free: 203 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/4.719, allocations: 134 kB / 2.797 GB, free: 202.9 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/4.719, allocations: 40.62 kB / 2.797 GB, free: 202.8 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/4.719, allocations: 0 / 2.797 GB, free: 202.8 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.000103/4.719, allocations: 324.6 kB / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/4.719, allocations: 69.3 kB / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/4.719, allocations: 118.2 kB / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/4.72, allocations: 71.66 kB / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/4.72, allocations: 0 / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003413/4.72, allocations: 204.8 kB / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/4.72, allocations: 7.656 kB / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/4.72, allocations: 4.047 kB / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/4.72, allocations: 0 / 2.797 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/4.72, allocations: 44 kB / 2.798 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/4.72, allocations: 4.641 kB / 2.798 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/4.72, allocations: 20.8 kB / 2.798 GB, free: 202.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/4.721, allocations: 14.75 kB / 2.798 GB, free: 202.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.79e-05/4.721, allocations: 108.7 kB / 2.798 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/4.721, allocations: 16.03 kB / 2.798 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/4.721, allocations: 29.06 kB / 2.798 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/4.721, allocations: 7.875 kB / 2.798 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/4.721, allocations: 0 / 2.798 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/4.721, allocations: 1.078 kB / 2.798 GB, free: 202.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009164/4.722, allocations: 0.6546 MB / 2.798 GB, free: 202 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/4.722, allocations: 3.906 kB / 2.798 GB, free: 202 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/4.722, allocations: 40.89 kB / 2.798 GB, free: 202 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/4.722, allocations: 3.656 kB / 2.798 GB, free: 202 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/4.722, allocations: 5.531 kB / 2.798 GB, free: 202 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/4.722, allocations: 0.6562 kB / 2.798 GB, free: 202 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/4.722, allocations: 2.281 kB / 2.798 GB, free: 202 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003687/4.722, allocations: 432.2 kB / 2.799 GB, free: 201.7 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005115/4.723, allocations: 0.825 MB / 2.8 GB, free: 201 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/4.723, allocations: 112.4 kB / 2.8 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/4.723, allocations: 8.188 kB / 2.8 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/4.723, allocations: 18.2 kB / 2.8 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/4.723, allocations: 10.25 kB / 2.8 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/4.723, allocations: 8.297 kB / 2.8 GB, free: 200.9 MB / 0.6982 GB Notification: Performance of sort global known variables: time 8.278e-05/4.724, allocations: 134.7 kB / 2.8 GB, free: 200.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001319/4.725, allocations: 205.2 kB / 2.8 GB, free: 200.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 14 * 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.001405/4.726, allocations: 1.03 MB / 2.801 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003221/4.727, allocations: 166.4 kB / 2.801 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/4.727, allocations: 0 / 2.801 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/4.727, allocations: 98.05 kB / 2.801 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/4.727, allocations: 78.62 kB / 2.801 GB, free: 200.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/4.728, allocations: 314.7 kB / 2.802 GB, free: 200.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/4.728, allocations: 0.7923 MB / 2.802 GB, free: 199.7 MB / 0.6982 GB Notification: Performance of SimCode: time 6.01e-07/4.728, allocations: 0 / 2.802 GB, free: 199.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)