Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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: 6.969 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.001126/0.001127, allocations: 188.3 kB / 316 MB, free: 3.555 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.178/1.178, allocations: 205.2 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.0008569/0.0008569, allocations: 95.31 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3607/0.3616, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.5301, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.462/4.993, allocations: 2.451 GB / 3.336 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/4.993, allocations: 91.19 kB / 3.336 GB, free: 239.4 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 2.978/7.971, allocations: 0.979 GB / 4.315 GB, free: 116.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/7.971, allocations: 14.58 kB / 4.315 GB, free: 116.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/7.973, allocations: 357 kB / 4.315 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003819/7.977, allocations: 1.617 MB / 4.317 GB, free: 116.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/7.977, allocations: 33.53 kB / 4.317 GB, free: 116.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/7.978, allocations: 76.47 kB / 4.317 GB, free: 116.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/7.979, allocations: 0.7923 MB / 4.318 GB, free: 116.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/7.981, allocations: 0.9874 MB / 4.319 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/7.981, allocations: 3.797 kB / 4.319 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/7.981, allocations: 2 kB / 4.319 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/7.981, allocations: 46.81 kB / 4.319 GB, free: 116.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006214/7.987, allocations: 5.601 MB / 4.324 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/7.988, allocations: 0.6433 MB / 4.325 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/7.988, allocations: 388.5 kB / 4.325 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/7.989, allocations: 0.6011 MB / 4.326 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/7.989, allocations: 47.42 kB / 4.326 GB, free: 112.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/7.989, allocations: 0 / 4.326 GB, free: 112.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=70): time 0.002003/7.991, allocations: 0.8384 MB / 4.327 GB, free: 112.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/7.991, allocations: 63.28 kB / 4.327 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/7.992, allocations: 0.8707 MB / 4.328 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/7.992, allocations: 29.39 kB / 4.328 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/7.992, allocations: 488.6 kB / 4.328 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/7.993, allocations: 240.5 kB / 4.328 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/7.993, allocations: 0 / 4.328 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/7.993, allocations: 331.8 kB / 4.329 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/7.993, allocations: 238.3 kB / 4.329 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/7.993, allocations: 487.4 kB / 4.329 GB, free: 111.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/7.994, allocations: 325 kB / 4.33 GB, free: 111.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/7.994, allocations: 0 / 4.33 GB, free: 111.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001476/7.995, allocations: 0.895 MB / 4.331 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/7.996, allocations: 1.07 MB / 4.332 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/7.996, allocations: 3.75 kB / 4.332 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/7.996, allocations: 96.45 kB / 4.332 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/7.997, allocations: 164.9 kB / 4.332 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008532/7.997, allocations: 1.814 MB / 4.334 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/7.999, allocations: 134.6 kB / 4.334 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/7.999, allocations: 37.59 kB / 4.334 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/7.999, allocations: 5.062 kB / 4.334 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/8, allocations: 0.6794 MB / 4.334 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/8, allocations: 7.156 kB / 4.334 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/8, allocations: 99.48 kB / 4.335 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/8.001, allocations: 154 kB / 4.335 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/8.003, allocations: 2.996 MB / 4.338 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/8.005, allocations: 138.8 kB / 4.338 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/8.005, allocations: 27.12 kB / 4.338 GB, free: 105.9 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001995/8.005, allocations: 123.3 kB / 4.338 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/8.005, allocations: 137.4 kB / 4.338 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/8.007, allocations: 0.8547 MB / 4.339 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/8.007, allocations: 6.344 kB / 4.339 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/8.007, allocations: 7.656 kB / 4.339 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/8.008, allocations: 0.9806 MB / 4.34 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/8.012, allocations: 2.214 MB / 4.342 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/8.012, allocations: 0 / 4.342 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/8.012, allocations: 175.5 kB / 4.342 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/8.013, allocations: 70.02 kB / 4.342 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/8.013, allocations: 13.34 kB / 4.342 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006705/8.013, allocations: 1.757 MB / 4.344 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/8.013, allocations: 0 / 4.344 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001723/8.015, allocations: 1.467 MB / 4.345 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002451/8.017, allocations: 2.357 MB / 4.348 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/8.018, allocations: 314.4 kB / 4.348 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000296/8.018, allocations: 11 kB / 4.348 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/8.02, allocations: 114 kB / 4.348 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/8.02, allocations: 44.92 kB / 4.348 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/8.02, allocations: 31.72 kB / 4.348 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.001015/8.021, allocations: 0.6765 MB / 4.349 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005062/8.026, allocations: 1.47 MB / 4.35 GB, free: 101.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003123/8.029, allocations: 2.249 MB / 4.352 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002393/8.032, allocations: 1.278 MB / 4.354 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/8.032, allocations: 0 / 4.354 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006489/8.032, allocations: 374 kB / 4.354 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/8.036, allocations: 0.7224 MB / 4.355 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/8.04, allocations: 2.109 MB / 4.357 GB, free: 99.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/8.042, allocations: 1.433 MB / 4.358 GB, free: 99.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/8.042, allocations: 0 / 4.358 GB, free: 99.2 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)