Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001012/0.001012, allocations: 181.3 kB / 316 MB, free: 3.531 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.151/1.151, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008773/0.0008772, allocations: 82.28 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3484/0.3493, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.5268, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7191/1.246, allocations: 381.9 MB / 1.258 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.246, allocations: 85.64 kB / 1.258 GB, free: 5.016 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.7469/1.993, allocations: 247.3 MB / 1.499 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/1.993, allocations: 12 kB / 1.499 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/1.994, allocations: 195 kB / 1.499 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02337/2.017, allocations: 11.47 MB / 1.511 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/2.018, allocations: 92.7 kB / 1.511 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/2.018, allocations: 24 kB / 1.511 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005145/2.018, allocations: 297.5 kB / 1.511 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/2.019, allocations: 408.4 kB / 1.511 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/2.019, allocations: 4 kB / 1.511 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/2.019, allocations: 3.984 kB / 1.511 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/2.019, allocations: 8 kB / 1.511 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002583/2.022, allocations: 2.225 MB / 1.514 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/2.022, allocations: 262.9 kB / 1.514 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/2.022, allocations: 173.7 kB / 1.514 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/2.022, allocations: 344.7 kB / 1.514 GB, free: 99.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/2.023, allocations: 246.7 kB / 1.515 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/2.023, allocations: 0 / 1.515 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0009444/2.024, allocations: 430.1 kB / 1.515 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/2.024, allocations: 85.11 kB / 1.515 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/2.024, allocations: 369.3 kB / 1.515 GB, free: 98.83 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/2.024, allocations: 25.7 kB / 1.515 GB, free: 98.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/2.024, allocations: 212.2 kB / 1.516 GB, free: 98.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/2.024, allocations: 114.4 kB / 1.516 GB, free: 98.47 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/2.024, allocations: 0 / 1.516 GB, free: 98.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/2.024, allocations: 354.8 kB / 1.516 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/2.025, allocations: 127.7 kB / 1.516 GB, free: 97.99 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/2.025, allocations: 219.1 kB / 1.516 GB, free: 97.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/2.025, allocations: 163.7 kB / 1.517 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.025, allocations: 4 kB / 1.517 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007594/2.026, allocations: 473.7 kB / 1.517 GB, free: 97.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/2.026, allocations: 0.6163 MB / 1.518 GB, free: 96.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/2.026, allocations: 4 kB / 1.518 GB, free: 96.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/2.026, allocations: 44.78 kB / 1.518 GB, free: 96.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/2.027, allocations: 91.88 kB / 1.518 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003441/2.027, allocations: 0.603 MB / 1.518 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/2.027, allocations: 75.78 kB / 1.518 GB, free: 95.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/2.028, allocations: 16.05 kB / 1.518 GB, free: 95.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/2.028, allocations: 7.906 kB / 1.518 GB, free: 95.57 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006548/2.028, allocations: 372.3 kB / 1.519 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/2.028, allocations: 4 kB / 1.519 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/2.028, allocations: 56.83 kB / 1.519 GB, free: 95.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/2.029, allocations: 84.09 kB / 1.519 GB, free: 95.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/2.03, allocations: 1.497 MB / 1.52 GB, free: 93.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/2.03, allocations: 71.75 kB / 1.52 GB, free: 93.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/2.03, allocations: 20.05 kB / 1.52 GB, free: 93.35 MB / 0.8698 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.0001247/2.03, allocations: 146.6 kB / 1.521 GB, free: 93.19 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/2.03, allocations: 59.34 kB / 1.521 GB, free: 93.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/2.031, allocations: 0.4929 MB / 1.521 GB, free: 92.63 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/2.031, allocations: 8 kB / 1.521 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/2.031, allocations: 0 / 1.521 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006502/2.032, allocations: 0.6514 MB / 1.522 GB, free: 91.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/2.033, allocations: 1.083 MB / 1.523 GB, free: 90.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/2.033, allocations: 8 kB / 1.523 GB, free: 90.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/2.034, allocations: 68.05 kB / 1.523 GB, free: 90.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.407e-05/2.034, allocations: 40.78 kB / 1.523 GB, free: 90.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/2.034, allocations: 11.98 kB / 1.523 GB, free: 90.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002374/2.034, allocations: 0.5796 MB / 1.524 GB, free: 90.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/2.034, allocations: 48 / 1.524 GB, free: 90.02 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009234/2.035, allocations: 0.8152 MB / 1.524 GB, free: 89.16 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001249/2.036, allocations: 1.418 MB / 1.526 GB, free: 87.69 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/2.037, allocations: 188.2 kB / 1.526 GB, free: 87.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/2.037, allocations: 4 kB / 1.526 GB, free: 87.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/2.037, allocations: 67.84 kB / 1.526 GB, free: 87.42 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/2.037, allocations: 19.97 kB / 1.526 GB, free: 87.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/2.037, allocations: 23.98 kB / 1.526 GB, free: 87.38 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002644/2.038, allocations: 286.9 kB / 1.526 GB, free: 87.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002341/2.04, allocations: 447.2 kB / 1.527 GB, free: 86.66 MB / 0.8698 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.0007891/2.041, allocations: 419.7 kB / 1.527 GB, free: 86.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001022/2.042, allocations: 0.7027 MB / 1.528 GB, free: 85.53 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.042, allocations: 0 / 1.528 GB, free: 85.53 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/2.042, allocations: 242.1 kB / 1.528 GB, free: 85.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/2.043, allocations: 217.7 kB / 1.528 GB, free: 85.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/2.045, allocations: 0.7711 MB / 1.529 GB, free: 84.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/2.045, allocations: 0.9524 MB / 1.53 GB, free: 83.29 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/2.045, allocations: 0 / 1.53 GB, free: 83.29 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)