Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",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.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.001003/0.001004, allocations: 177.3 kB / 316 MB, free: 3.523 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.135/1.135, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0008546/0.0008548, allocations: 99.34 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3631/0.364, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.537, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.608, allocations: 433.3 MB / 1.308 GB, free: 314.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.608, allocations: 86.2 kB / 1.308 GB, free: 314 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 1.094/2.702, allocations: 455.9 MB / 1.753 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/2.702, allocations: 9.031 kB / 1.753 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/2.702, allocations: 138.6 kB / 1.753 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02047/2.723, allocations: 9.018 MB / 1.762 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/2.723, allocations: 24.41 kB / 1.762 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/2.723, allocations: 41.09 kB / 1.762 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009812/2.724, allocations: 489.2 kB / 1.763 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/2.725, allocations: 0.6309 MB / 1.763 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/2.725, allocations: 1.062 kB / 1.763 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/2.725, allocations: 8.719 kB / 1.763 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/2.725, allocations: 21.52 kB / 1.763 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/2.73, allocations: 3.932 MB / 1.767 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/2.73, allocations: 285 kB / 1.767 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/2.731, allocations: 193.8 kB / 1.767 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/2.732, allocations: 1.521 MB / 1.769 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/2.732, allocations: 36.66 kB / 1.769 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=44): time 2.494e-06/2.732, allocations: 3.312 kB / 1.769 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44): time 0.0018/2.733, allocations: 0.5692 MB / 1.77 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/2.734, allocations: 60.5 kB / 1.77 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008695/2.734, allocations: 0.6695 MB / 1.77 GB, free: 166 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/2.734, allocations: 27.11 kB / 1.77 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/2.735, allocations: 348.4 kB / 1.771 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/2.735, allocations: 149.5 kB / 1.771 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/2.735, allocations: 3.312 kB / 1.771 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/2.735, allocations: 331.2 kB / 1.771 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/2.735, allocations: 159.3 kB / 1.771 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/2.735, allocations: 292 kB / 1.771 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/2.737, allocations: 355.9 kB / 1.772 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/2.737, allocations: 1.406 kB / 1.772 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001698/2.738, allocations: 0.711 MB / 1.773 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/2.739, allocations: 1.139 MB / 1.774 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/2.739, allocations: 5 kB / 1.774 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/2.739, allocations: 6.156 kB / 1.774 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/2.739, allocations: 127.5 kB / 1.774 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/2.739, allocations: 4.875 kB / 1.774 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/2.74, allocations: 87.55 kB / 1.774 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/2.74, allocations: 33.27 kB / 1.774 GB, free: 163 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/2.74, allocations: 3.844 kB / 1.774 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001566/2.742, allocations: 0.5864 MB / 1.774 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/2.742, allocations: 4.094 kB / 1.774 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/2.742, allocations: 6.625 kB / 1.774 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/2.742, allocations: 126.4 kB / 1.775 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/2.742, allocations: 8.844 kB / 1.775 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005748/2.743, allocations: 64.7 kB / 1.775 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/2.743, allocations: 29.27 kB / 1.775 GB, free: 162.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/2.743, allocations: 124.5 kB / 1.775 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/2.743, allocations: 90 kB / 1.775 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/2.745, allocations: 1.062 MB / 1.776 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/2.745, allocations: 10.56 kB / 1.776 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/2.745, allocations: 0 / 1.776 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001355/2.747, allocations: 0.8764 MB / 1.777 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/2.75, allocations: 1.847 MB / 1.779 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/2.75, allocations: 7.203 kB / 1.779 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/2.75, allocations: 103.5 kB / 1.779 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/2.75, allocations: 4.031 kB / 1.779 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/2.75, allocations: 11.39 kB / 1.779 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/2.75, allocations: 3.656 kB / 1.779 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/2.75, allocations: 2.094 kB / 1.779 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002073/2.753, allocations: 1.27 MB / 1.78 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002588/2.755, allocations: 2.031 MB / 1.782 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/2.756, allocations: 267.2 kB / 1.782 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/2.756, allocations: 7.688 kB / 1.782 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/2.756, allocations: 38.39 kB / 1.782 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/2.756, allocations: 42.44 kB / 1.782 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/2.756, allocations: 26.92 kB / 1.782 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007669/2.757, allocations: 0.5082 MB / 1.783 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003384/2.761, allocations: 0.8364 MB / 1.784 GB, free: 156.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/2.762, allocations: 0.7308 MB / 1.784 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001466/2.763, allocations: 0.898 MB / 1.785 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/2.763, allocations: 0 / 1.785 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/2.764, allocations: 370.2 kB / 1.786 GB, free: 156 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/2.766, allocations: 373.7 kB / 1.786 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/2.769, allocations: 1.521 MB / 1.787 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008581/2.77, allocations: 1.215 MB / 1.789 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/2.77, allocations: 0 / 1.789 GB, free: 154.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)