Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") [: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.61/1.61, allocations: 289.8 MB / 297.1 MB, free: 6.559 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.001369/0.001369, allocations: 181.3 kB / 366.3 MB, free: 1.883 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.374/1.374, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0009746/0.0009747, allocations: 86.98 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.023e-05/1.025e-05, allocations: 4 kB / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7889/0.7889, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.209/5.998, allocations: 2.342 GB / 3.315 GB, free: 93.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/5.998, allocations: 94.94 kB / 3.315 GB, free: 93.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.895/9.893, allocations: 1.113 GB / 4.428 GB, free: 36.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001673/9.893, allocations: 54.27 kB / 4.428 GB, free: 36.93 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006147/9.899, allocations: 2.113 MB / 4.43 GB, free: 34.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/9.899, allocations: 8.031 kB / 4.43 GB, free: 34.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/9.902, allocations: 381.2 kB / 4.43 GB, free: 34.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/9.905, allocations: 1.66 MB / 4.432 GB, free: 32.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/9.905, allocations: 44 kB / 4.432 GB, free: 32.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/9.905, allocations: 84 kB / 4.432 GB, free: 32.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001728/9.907, allocations: 0.9543 MB / 4.433 GB, free: 31.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/9.909, allocations: 1.228 MB / 4.434 GB, free: 30.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/9.909, allocations: 0 / 4.434 GB, free: 30.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/9.909, allocations: 0 / 4.434 GB, free: 30.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/9.909, allocations: 54.64 kB / 4.434 GB, free: 30.24 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008214/9.917, allocations: 7.223 MB / 4.441 GB, free: 22.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/9.919, allocations: 0.7879 MB / 4.442 GB, free: 21.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/9.919, allocations: 389.4 kB / 4.443 GB, free: 21.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/9.92, allocations: 0.7201 MB / 4.443 GB, free: 20.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/9.92, allocations: 39.22 kB / 4.443 GB, free: 20.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.436e-06/9.92, allocations: 4 kB / 4.443 GB, free: 20.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.003217/9.923, allocations: 1.191 MB / 4.444 GB, free: 19.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/9.923, allocations: 60.06 kB / 4.445 GB, free: 19.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/9.924, allocations: 0.9415 MB / 4.445 GB, free: 18.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/9.924, allocations: 25.7 kB / 4.445 GB, free: 18.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/9.925, allocations: 0.5684 MB / 4.446 GB, free: 17.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/9.925, allocations: 252.2 kB / 4.446 GB, free: 17.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/9.925, allocations: 0 / 4.446 GB, free: 17.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/9.925, allocations: 334 kB / 4.447 GB, free: 16.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/9.925, allocations: 273.9 kB / 4.447 GB, free: 16.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/9.926, allocations: 0.5583 MB / 4.447 GB, free: 16.02 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007676/9.927, allocations: 449.1 kB / 4.448 GB, free: 15.58 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/9.927, allocations: 4 kB / 4.448 GB, free: 15.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002829/9.93, allocations: 1.262 MB / 4.449 GB, free: 14.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000347/9.93, allocations: 1.96 MB / 4.451 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/9.93, allocations: 4 kB / 4.451 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/9.931, allocations: 374.2 kB / 4.451 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/9.932, allocations: 147.8 kB / 4.451 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/9.933, allocations: 2.152 MB / 4.454 GB, free: 9.469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/9.935, allocations: 143.2 kB / 4.454 GB, free: 9.328 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/9.935, allocations: 38.62 kB / 4.454 GB, free: 9.293 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/9.935, allocations: 4 kB / 4.454 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002417/9.938, allocations: 1.059 MB / 4.455 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/9.938, allocations: 4.406 kB / 4.455 GB, free: 8.219 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/9.939, allocations: 378.3 kB / 4.455 GB, free: 7.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/9.94, allocations: 147.8 kB / 4.455 GB, free: 7.695 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/9.942, allocations: 3.787 MB / 4.459 GB, free: 3.656 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/9.944, allocations: 143.3 kB / 4.459 GB, free: 3.516 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/9.944, allocations: 39.98 kB / 4.459 GB, free: 3.477 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002638/9.944, allocations: 124.8 kB / 4.459 GB, free: 3.348 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/9.945, allocations: 138.3 kB / 4.459 GB, free: 3.211 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/9.948, allocations: 1.252 MB / 4.461 GB, free: 1.934 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/9.948, allocations: 8 kB / 4.461 GB, free: 1.926 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/9.948, allocations: 0 / 4.461 GB, free: 1.926 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002233/9.95, allocations: 1.347 MB / 4.462 GB, free: 500 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/9.955, allocations: 2.544 MB / 4.464 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/9.955, allocations: 0 / 4.464 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/9.956, allocations: 112.2 kB / 4.465 GB, free: 13.74 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/9.957, allocations: 366.7 kB / 4.465 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/9.957, allocations: 12 kB / 4.465 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/9.959, allocations: 2.123 MB / 4.467 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/9.959, allocations: 4 kB / 4.467 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002501/9.961, allocations: 1.338 MB / 4.468 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008809/9.962, allocations: 331 kB / 4.469 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/9.963, allocations: 0 / 4.469 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/9.964, allocations: 107.7 kB / 4.469 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/9.964, allocations: 56.48 kB / 4.469 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-05/9.964, allocations: 31.92 kB / 4.469 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001213/9.965, allocations: 0.7063 MB / 4.469 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00347/9.969, allocations: 1.04 MB / 4.47 GB, free: 7.414 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004067/9.973, allocations: 2.544 MB / 4.473 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002882/9.976, allocations: 1.468 MB / 4.474 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/9.976, allocations: 0 / 4.474 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008238/9.976, allocations: 433.7 kB / 4.475 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/9.98, allocations: 0.7093 MB / 4.476 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/9.985, allocations: 1.986 MB / 4.477 GB, free: 52 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/9.986, allocations: 1.491 MB / 4.479 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/9.986, allocations: 3.938 kB / 4.479 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of Templates: time 0.5885/10.57, allocations: 44.48 MB / 4.522 GB, free: 215 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)