Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001227/0.001227, allocations: 185.3 kB / 366.3 MB, free: 2 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.664/1.664, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009927/0.0009929, allocations: 77.48 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3094/0.3104, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/1.019, allocations: 116.3 MB / 0.9727 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.944/1.963, allocations: 389.3 MB / 1.353 GB, free: 94.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.963, allocations: 86.36 kB / 1.353 GB, free: 94.53 MB / 0.823 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 1.073/3.036, allocations: 254.3 MB / 1.601 GB, free: 272.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/3.036, allocations: 14.81 kB / 1.601 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/3.037, allocations: 192.8 kB / 1.601 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02859/3.066, allocations: 11.81 MB / 1.613 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/3.066, allocations: 93.5 kB / 1.613 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/3.067, allocations: 23.66 kB / 1.613 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008389/3.068, allocations: 301.4 kB / 1.613 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/3.068, allocations: 402.6 kB / 1.614 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/3.068, allocations: 0 / 1.614 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/3.068, allocations: 0 / 1.614 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/3.068, allocations: 22.88 kB / 1.614 GB, free: 271.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/3.072, allocations: 2.222 MB / 1.616 GB, free: 270.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/3.072, allocations: 267.4 kB / 1.616 GB, free: 270.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/3.072, allocations: 173.9 kB / 1.616 GB, free: 270.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/3.073, allocations: 340.8 kB / 1.617 GB, free: 269.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/3.073, allocations: 242.9 kB / 1.617 GB, free: 269.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.245e-06/3.073, allocations: 0 / 1.617 GB, free: 269.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.00139/3.074, allocations: 435.3 kB / 1.617 GB, free: 269.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/3.074, allocations: 92.17 kB / 1.617 GB, free: 269.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/3.075, allocations: 365.3 kB / 1.618 GB, free: 269.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/3.075, allocations: 25.7 kB / 1.618 GB, free: 269.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/3.075, allocations: 209.5 kB / 1.618 GB, free: 269.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/3.075, allocations: 112.5 kB / 1.618 GB, free: 269.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/3.075, allocations: 0 / 1.618 GB, free: 269.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001175/3.076, allocations: 358.3 kB / 1.618 GB, free: 268.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/3.076, allocations: 123.9 kB / 1.619 GB, free: 268.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/3.076, allocations: 221.2 kB / 1.619 GB, free: 268.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/3.076, allocations: 172 kB / 1.619 GB, free: 268.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/3.076, allocations: 0 / 1.619 GB, free: 268.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001015/3.077, allocations: 473.9 kB / 1.619 GB, free: 268.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/3.078, allocations: 0.6156 MB / 1.62 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/3.078, allocations: 7 kB / 1.62 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/3.078, allocations: 44.52 kB / 1.62 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/3.078, allocations: 81.86 kB / 1.62 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000411/3.079, allocations: 0.6142 MB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/3.079, allocations: 77.05 kB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/3.079, allocations: 20.3 kB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/3.08, allocations: 3.781 kB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007421/3.08, allocations: 372.2 kB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/3.08, allocations: 5.844 kB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/3.08, allocations: 48.03 kB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/3.081, allocations: 91.92 kB / 1.621 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/3.082, allocations: 1.497 MB / 1.623 GB, free: 266.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/3.083, allocations: 68.22 kB / 1.623 GB, free: 266.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/3.083, allocations: 23.39 kB / 1.623 GB, free: 266.2 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.0001906/3.083, allocations: 145.8 kB / 1.623 GB, free: 266 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/3.083, allocations: 61.86 kB / 1.623 GB, free: 266 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/3.084, allocations: 497.8 kB / 1.624 GB, free: 266 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/3.084, allocations: 3.875 kB / 1.624 GB, free: 266 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/3.084, allocations: 0 / 1.624 GB, free: 266 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007333/3.085, allocations: 0.6615 MB / 1.624 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/3.087, allocations: 1.085 MB / 1.625 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/3.087, allocations: 0 / 1.625 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/3.087, allocations: 75.17 kB / 1.625 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/3.087, allocations: 40.8 kB / 1.625 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/3.087, allocations: 11.56 kB / 1.625 GB, free: 265.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002816/3.087, allocations: 0.5782 MB / 1.626 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/3.087, allocations: 3.844 kB / 1.626 GB, free: 264.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001167/3.089, allocations: 0.8071 MB / 1.627 GB, free: 264.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001557/3.09, allocations: 1.413 MB / 1.628 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/3.091, allocations: 193.2 kB / 1.628 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/3.091, allocations: 7.219 kB / 1.628 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/3.091, allocations: 72.03 kB / 1.628 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/3.091, allocations: 16.33 kB / 1.628 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/3.091, allocations: 21.58 kB / 1.628 GB, free: 263.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003216/3.092, allocations: 286.3 kB / 1.629 GB, free: 263.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002939/3.095, allocations: 447.8 kB / 1.629 GB, free: 263.6 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.00109/3.096, allocations: 423 kB / 1.63 GB, free: 263.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001416/3.097, allocations: 0.7103 MB / 1.63 GB, free: 263.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/3.097, allocations: 0 / 1.63 GB, free: 263.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/3.098, allocations: 238.8 kB / 1.63 GB, free: 263.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/3.099, allocations: 222 kB / 1.631 GB, free: 263.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/3.101, allocations: 0.7823 MB / 1.631 GB, free: 263.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/3.102, allocations: 0.9458 MB / 1.632 GB, free: 262.4 MB / 0.948 GB Notification: Performance of SimCode: time 4.4e-07/3.102, allocations: 0 / 1.632 GB, free: 262.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)