Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",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.1-maint.8.0.x/package.mo): time 1.388/1.388, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.00104/0.00104, allocations: 189.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008284/0.0008284, allocations: 96.12 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2073/0.2082, allocations: 121.4 MB / 0.8511 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.7256, allocations: 115.3 MB / 0.9637 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6921/1.418, allocations: 388.4 MB / 1.343 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/1.418, allocations: 85.89 kB / 1.343 GB, free: 171.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.4709/1.889, allocations: 254.3 MB / 1.591 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.889, allocations: 8.5 kB / 1.591 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009207/1.89, allocations: 195 kB / 1.592 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/1.917, allocations: 11.79 MB / 1.603 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/1.918, allocations: 96.72 kB / 1.603 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.918, allocations: 24 kB / 1.603 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006318/1.918, allocations: 297.5 kB / 1.604 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/1.919, allocations: 404.4 kB / 1.604 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/1.919, allocations: 0 / 1.604 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/1.919, allocations: 4 kB / 1.604 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/1.919, allocations: 19.97 kB / 1.604 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003128/1.922, allocations: 2.242 MB / 1.606 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/1.923, allocations: 258.8 kB / 1.606 GB, free: 11.13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/1.923, allocations: 181.5 kB / 1.607 GB, free: 10.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/1.923, allocations: 344.6 kB / 1.607 GB, free: 10.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/1.924, allocations: 242.8 kB / 1.607 GB, free: 10.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.838e-06/1.924, allocations: 7.938 kB / 1.607 GB, free: 10.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001048/1.925, allocations: 442 kB / 1.608 GB, free: 9.836 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.925, allocations: 81.11 kB / 1.608 GB, free: 9.738 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/1.925, allocations: 369.4 kB / 1.608 GB, free: 9.367 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/1.925, allocations: 25.7 kB / 1.608 GB, free: 9.336 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.926, allocations: 216.1 kB / 1.608 GB, free: 9.121 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/1.926, allocations: 98.56 kB / 1.608 GB, free: 9.023 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/1.926, allocations: 4 kB / 1.608 GB, free: 9.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.926, allocations: 358.8 kB / 1.609 GB, free: 8.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/1.926, allocations: 120 kB / 1.609 GB, free: 8.543 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/1.926, allocations: 222.9 kB / 1.609 GB, free: 8.285 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/1.927, allocations: 168.6 kB / 1.609 GB, free: 8.125 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/1.927, allocations: 0 / 1.609 GB, free: 8.125 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009566/1.928, allocations: 473.2 kB / 1.61 GB, free: 7.652 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002567/1.928, allocations: 0.6124 MB / 1.61 GB, free: 6.992 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.928, allocations: 0 / 1.61 GB, free: 6.992 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/1.928, allocations: 48.84 kB / 1.61 GB, free: 6.941 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.929, allocations: 91.88 kB / 1.61 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004711/1.929, allocations: 0.6069 MB / 1.611 GB, free: 6.219 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/1.93, allocations: 75.69 kB / 1.611 GB, free: 6.145 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/1.93, allocations: 24.05 kB / 1.611 GB, free: 6.121 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/1.93, allocations: 7.938 kB / 1.611 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007954/1.93, allocations: 372.3 kB / 1.611 GB, free: 5.746 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/1.93, allocations: 4.188 kB / 1.611 GB, free: 5.742 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/1.931, allocations: 48.83 kB / 1.611 GB, free: 5.691 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/1.931, allocations: 87.97 kB / 1.612 GB, free: 5.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/1.933, allocations: 1.493 MB / 1.613 GB, free: 3.992 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/1.933, allocations: 75.88 kB / 1.613 GB, free: 3.918 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/1.933, allocations: 28.05 kB / 1.613 GB, free: 3.891 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002201/1.933, allocations: 141.4 kB / 1.613 GB, free: 3.742 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.934, allocations: 59.33 kB / 1.613 GB, free: 3.684 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/1.935, allocations: 490.9 kB / 1.614 GB, free: 3.191 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.935, allocations: 7.906 kB / 1.614 GB, free: 3.184 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/1.935, allocations: 0 / 1.614 GB, free: 3.184 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000932/1.936, allocations: 0.6528 MB / 1.614 GB, free: 2.461 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/1.938, allocations: 1.095 MB / 1.615 GB, free: 1.309 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.938, allocations: 8.094 kB / 1.615 GB, free: 1.301 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/1.938, allocations: 75.88 kB / 1.616 GB, free: 1.227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-05/1.938, allocations: 36.78 kB / 1.616 GB, free: 1.188 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/1.938, allocations: 11.98 kB / 1.616 GB, free: 1.176 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003296/1.939, allocations: 0.5757 MB / 1.616 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.939, allocations: 0 / 1.616 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2845/2.223, allocations: 0.7962 MB / 1.617 GB, free: 340.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001416/2.225, allocations: 1.417 MB / 1.618 GB, free: 340.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/2.225, allocations: 200 kB / 1.618 GB, free: 340 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/2.225, allocations: 3.531 kB / 1.619 GB, free: 340 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/2.225, allocations: 64.19 kB / 1.619 GB, free: 340 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/2.226, allocations: 18.33 kB / 1.619 GB, free: 340 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/2.226, allocations: 25.84 kB / 1.619 GB, free: 340 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002473/2.226, allocations: 290.8 kB / 1.619 GB, free: 339.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002157/2.228, allocations: 440.9 kB / 1.619 GB, free: 339.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006197/2.229, allocations: 429.6 kB / 1.62 GB, free: 339.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000928/2.23, allocations: 0.7057 MB / 1.62 GB, free: 339.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/2.23, allocations: 0 / 1.62 GB, free: 339.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002726/2.23, allocations: 250.2 kB / 1.621 GB, free: 339.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/2.231, allocations: 214.3 kB / 1.621 GB, free: 339.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/2.232, allocations: 0.7704 MB / 1.622 GB, free: 339.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/2.233, allocations: 0.9468 MB / 1.623 GB, free: 338.7 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/2.233, allocations: 0 / 1.623 GB, free: 338.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)