Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009724/0.0009726, allocations: 185.2 kB / 316 MB, free: 3.496 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.069/1.069, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008426/0.0008425, allocations: 87.28 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3205/0.3213, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.486, allocations: 106.3 MB / 0.8846 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.535, allocations: 432.7 MB / 1.307 GB, free: 285.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.535, allocations: 91.44 kB / 1.307 GB, free: 285.6 MB / 0.8698 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 1.072/2.607, allocations: 455.6 MB / 1.752 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/2.607, allocations: 8.594 kB / 1.752 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/2.607, allocations: 130.2 kB / 1.752 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02097/2.628, allocations: 9.032 MB / 1.761 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/2.629, allocations: 23.81 kB / 1.761 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.831e-05/2.629, allocations: 39.91 kB / 1.761 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009848/2.63, allocations: 460.5 kB / 1.762 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/2.631, allocations: 0.6374 MB / 1.762 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/2.631, allocations: 3.984 kB / 1.762 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/2.631, allocations: 0 / 1.762 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/2.631, allocations: 23.5 kB / 1.762 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/2.635, allocations: 4.342 MB / 1.766 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/2.635, allocations: 253.5 kB / 1.767 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/2.635, allocations: 192.8 kB / 1.767 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009289/2.636, allocations: 1.517 MB / 1.768 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/2.636, allocations: 38.56 kB / 1.768 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/2.636, allocations: 3.594 kB / 1.768 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001974/2.638, allocations: 0.643 MB / 1.769 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/2.638, allocations: 55.41 kB / 1.769 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/2.639, allocations: 0.6489 MB / 1.77 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/2.639, allocations: 25.7 kB / 1.77 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/2.639, allocations: 347.5 kB / 1.77 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/2.639, allocations: 145.8 kB / 1.77 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/2.639, allocations: 0 / 1.77 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.647e-05/2.64, allocations: 326 kB / 1.771 GB, free: 161 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/2.64, allocations: 149.1 kB / 1.771 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/2.64, allocations: 314.4 kB / 1.771 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/2.641, allocations: 315.6 kB / 1.771 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/2.641, allocations: 0 / 1.771 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001819/2.643, allocations: 0.7464 MB / 1.772 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002733/2.643, allocations: 1.486 MB / 1.773 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/2.643, allocations: 8 kB / 1.773 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/2.643, allocations: 79.84 kB / 1.774 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/2.644, allocations: 107.8 kB / 1.774 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000441/2.644, allocations: 0.61 MB / 1.774 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/2.645, allocations: 82.41 kB / 1.774 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/2.645, allocations: 31.73 kB / 1.774 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/2.645, allocations: 6.344 kB / 1.774 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/2.647, allocations: 0.6304 MB / 1.775 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/2.647, allocations: 7.984 kB / 1.775 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/2.647, allocations: 80.62 kB / 1.775 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/2.647, allocations: 107.8 kB / 1.775 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003551/2.648, allocations: 0.6108 MB / 1.776 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006211/2.648, allocations: 78.47 kB / 1.776 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/2.648, allocations: 31.98 kB / 1.776 GB, free: 155.4 MB / 0.8698 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.0001178/2.649, allocations: 116.8 kB / 1.776 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/2.649, allocations: 94.81 kB / 1.776 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/2.651, allocations: 1.107 MB / 1.777 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/2.651, allocations: 8 kB / 1.777 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/2.651, allocations: 3.469 kB / 1.777 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/2.652, allocations: 0.9303 MB / 1.778 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/2.655, allocations: 1.762 MB / 1.78 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/2.655, allocations: 7.906 kB / 1.78 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/2.656, allocations: 78.64 kB / 1.78 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/2.656, allocations: 44.84 kB / 1.78 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/2.656, allocations: 15.98 kB / 1.78 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003188/2.656, allocations: 0.6145 MB / 1.781 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.656, allocations: 3.391 kB / 1.781 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001909/2.658, allocations: 1.277 MB / 1.782 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002345/2.66, allocations: 2.038 MB / 1.784 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/2.661, allocations: 259.7 kB / 1.784 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/2.661, allocations: 0 / 1.784 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/2.662, allocations: 58.64 kB / 1.784 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/2.662, allocations: 36.44 kB / 1.784 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/2.662, allocations: 27.98 kB / 1.784 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005419/2.662, allocations: 0.4951 MB / 1.785 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002838/2.665, allocations: 0.8142 MB / 1.785 GB, free: 145.4 MB / 0.8698 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.0009573/2.666, allocations: 0.7439 MB / 1.786 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001206/2.667, allocations: 0.8868 MB / 1.787 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.667, allocations: 6.203 kB / 1.787 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003846/2.668, allocations: 377.3 kB / 1.787 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/2.669, allocations: 374.5 kB / 1.788 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/2.672, allocations: 1.367 MB / 1.789 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/2.672, allocations: 1.183 MB / 1.79 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of SimCode: time 4.11e-07/2.672, allocations: 0 / 1.79 GB, free: 140.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)