Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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/Buildings 8.0.0/package.mo): time 2.604/2.604, allocations: 284.8 MB / 292.1 MB, free: 10 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 186.8 kB / 360.3 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6187 GB, free: 3.285 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 82.34 kB / 0.7317 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5691/0.5704, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.799, allocations: 115.3 MB / 0.9628 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.863, allocations: 439.2 MB / 1.392 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.863, allocations: 101.8 kB / 1.392 GB, free: 2.398 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 2.429/4.293, allocations: 468.4 MB / 1.849 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/4.293, allocations: 11.69 kB / 1.849 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006866/4.293, allocations: 134.5 kB / 1.849 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03851/4.332, allocations: 9.189 MB / 1.858 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/4.332, allocations: 22.94 kB / 1.858 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/4.332, allocations: 41.5 kB / 1.858 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002217/4.334, allocations: 458.3 kB / 1.859 GB, free: 192.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/4.336, allocations: 0.6395 MB / 1.859 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/4.336, allocations: 13.78 kB / 1.859 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/4.336, allocations: 0 / 1.859 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/4.336, allocations: 18.59 kB / 1.859 GB, free: 192.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007241/4.344, allocations: 4.335 MB / 1.864 GB, free: 190 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007711/4.345, allocations: 257.2 kB / 1.864 GB, free: 190 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/4.345, allocations: 188.3 kB / 1.864 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/4.347, allocations: 1.518 MB / 1.866 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/4.347, allocations: 38.03 kB / 1.866 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 2.975e-06/4.347, allocations: 0 / 1.866 GB, free: 188.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=43): time 0.003579/4.35, allocations: 0.6379 MB / 1.866 GB, free: 188.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/4.35, allocations: 55.31 kB / 1.866 GB, free: 188.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/4.352, allocations: 0.6473 MB / 1.867 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/4.352, allocations: 25.7 kB / 1.867 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/4.352, allocations: 351.9 kB / 1.867 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/4.352, allocations: 145.5 kB / 1.867 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/4.353, allocations: 0 / 1.867 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/4.353, allocations: 327.4 kB / 1.868 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/4.353, allocations: 150.5 kB / 1.868 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/4.354, allocations: 307.6 kB / 1.868 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/4.356, allocations: 327.2 kB / 1.868 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/4.356, allocations: 0 / 1.868 GB, free: 187.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003561/4.359, allocations: 0.754 MB / 1.869 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003297/4.36, allocations: 1.49 MB / 1.871 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/4.36, allocations: 6.875 kB / 1.871 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/4.36, allocations: 81.16 kB / 1.871 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/4.361, allocations: 102.4 kB / 1.871 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000727/4.362, allocations: 0.6173 MB / 1.871 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/4.363, allocations: 82.91 kB / 1.872 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/4.363, allocations: 29.42 kB / 1.872 GB, free: 185 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/4.363, allocations: 3.906 kB / 1.872 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003207/4.366, allocations: 0.6334 MB / 1.872 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/4.367, allocations: 7.719 kB / 1.872 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005047/4.367, allocations: 81.84 kB / 1.872 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/4.368, allocations: 105.9 kB / 1.872 GB, free: 185 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006879/4.368, allocations: 0.6134 MB / 1.873 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/4.37, allocations: 73.22 kB / 1.873 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/4.37, allocations: 32.67 kB / 1.873 GB, free: 184.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002251/4.37, allocations: 117.5 kB / 1.873 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/4.37, allocations: 93.52 kB / 1.873 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/4.375, allocations: 1.113 MB / 1.874 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/4.375, allocations: 14.09 kB / 1.874 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/4.375, allocations: 0 / 1.874 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00287/4.378, allocations: 0.9274 MB / 1.875 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/4.383, allocations: 1.774 MB / 1.877 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/4.384, allocations: 3.281 kB / 1.877 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006597/4.384, allocations: 80.75 kB / 1.877 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/4.385, allocations: 54.14 kB / 1.877 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/4.385, allocations: 7.719 kB / 1.877 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/4.385, allocations: 0.6043 MB / 1.878 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/4.385, allocations: 6.938 kB / 1.878 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004489/4.39, allocations: 1.282 MB / 1.879 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007779/4.398, allocations: 2.046 MB / 1.881 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/4.4, allocations: 264.8 kB / 1.881 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006041/4.4, allocations: 3.938 kB / 1.881 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/4.401, allocations: 59.89 kB / 1.881 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/4.402, allocations: 36.2 kB / 1.881 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/4.402, allocations: 27.11 kB / 1.881 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001028/4.403, allocations: 0.4921 MB / 1.882 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004994/4.408, allocations: 0.8107 MB / 1.883 GB, free: 181.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002014/4.41, allocations: 0.7498 MB / 1.883 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003076/4.413, allocations: 0.8909 MB / 1.884 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/4.413, allocations: 3.938 kB / 1.884 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007873/4.414, allocations: 381.6 kB / 1.885 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/4.417, allocations: 395.2 kB / 1.885 GB, free: 181.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/4.422, allocations: 1.355 MB / 1.886 GB, free: 181 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/4.423, allocations: 1.183 MB / 1.887 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.523e-06/4.423, allocations: 0 / 1.887 GB, free: 180.3 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)