Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.403/1.403, allocations: 285.5 MB / 292.8 MB, free: 9.832 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.001013/0.001013, allocations: 184.5 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 0.6195 GB, free: 2.816 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009033/0.0009033, allocations: 94.83 kB / 0.7326 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4638/0.4648, allocations: 121.4 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.6808, allocations: 115.3 MB / 0.9638 GB, free: 56.22 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.246/4.927, allocations: 2.341 GB / 3.305 GB, free: 292.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/4.927, allocations: 95.94 kB / 3.305 GB, free: 292.7 MB / 0.9323 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 3.193/8.12, allocations: 1.115 GB / 4.42 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/8.12, allocations: 13.06 kB / 4.42 GB, free: 133.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/8.122, allocations: 375.1 kB / 4.421 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/8.127, allocations: 1.657 MB / 4.422 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.754e-05/8.127, allocations: 44.22 kB / 4.422 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/8.128, allocations: 83 kB / 4.422 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002103/8.13, allocations: 0.9544 MB / 4.423 GB, free: 133.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/8.132, allocations: 1.228 MB / 4.425 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/8.132, allocations: 3.656 kB / 4.425 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/8.132, allocations: 9 kB / 4.425 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/8.132, allocations: 50.92 kB / 4.425 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008133/8.14, allocations: 7.234 MB / 4.432 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/8.141, allocations: 0.7796 MB / 4.432 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/8.142, allocations: 398.8 kB / 4.433 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/8.143, allocations: 0.7143 MB / 4.433 GB, free: 128 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/8.143, allocations: 47.16 kB / 4.434 GB, free: 128 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 2.986e-06/8.143, allocations: 0 / 4.434 GB, free: 128 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.003256/8.146, allocations: 1.188 MB / 4.435 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/8.146, allocations: 63.59 kB / 4.435 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/8.147, allocations: 0.9389 MB / 4.436 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/8.148, allocations: 25.7 kB / 4.436 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/8.148, allocations: 0.5683 MB / 4.436 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/8.148, allocations: 251.6 kB / 4.436 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/8.148, allocations: 0 / 4.436 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/8.148, allocations: 332.5 kB / 4.437 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/8.149, allocations: 272.1 kB / 4.437 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/8.149, allocations: 0.5627 MB / 4.438 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/8.15, allocations: 442.2 kB / 4.438 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/8.15, allocations: 2.531 kB / 4.438 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002856/8.153, allocations: 1.268 MB / 4.439 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003084/8.153, allocations: 1.959 MB / 4.441 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/8.153, allocations: 3.656 kB / 4.441 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/8.155, allocations: 378.6 kB / 4.442 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/8.155, allocations: 150.7 kB / 4.442 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/8.157, allocations: 2.143 MB / 4.444 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/8.158, allocations: 149.9 kB / 4.444 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/8.158, allocations: 41.47 kB / 4.444 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/8.158, allocations: 3.25 kB / 4.444 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00249/8.161, allocations: 1.055 MB / 4.445 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/8.161, allocations: 7.125 kB / 4.445 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/8.162, allocations: 376.2 kB / 4.445 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/8.163, allocations: 154.4 kB / 4.446 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/8.166, allocations: 3.78 MB / 4.449 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/8.167, allocations: 152.4 kB / 4.449 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.751e-05/8.167, allocations: 38.22 kB / 4.449 GB, free: 119.5 MB / 0.9636 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.0002559/8.168, allocations: 130.7 kB / 4.45 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/8.168, allocations: 140.6 kB / 4.45 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/8.171, allocations: 1.231 MB / 4.451 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/8.171, allocations: 17.06 kB / 4.451 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/8.171, allocations: 0 / 4.451 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/8.173, allocations: 1.35 MB / 4.452 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00487/8.178, allocations: 2.538 MB / 4.455 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/8.178, allocations: 3.438 kB / 4.455 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/8.179, allocations: 110 kB / 4.455 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/8.18, allocations: 361.4 kB / 4.455 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/8.18, allocations: 13.75 kB / 4.455 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/8.181, allocations: 2.123 MB / 4.457 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/8.181, allocations: 3.625 kB / 4.457 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001844/8.183, allocations: 1.342 MB / 4.459 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00225/8.186, allocations: 1.879 MB / 4.46 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/8.186, allocations: 326.4 kB / 4.461 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/8.187, allocations: 3.438 kB / 4.461 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/8.188, allocations: 113.7 kB / 4.461 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/8.188, allocations: 55.34 kB / 4.461 GB, free: 115 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/8.188, allocations: 29.19 kB / 4.461 GB, free: 115 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001087/8.189, allocations: 0.7037 MB / 4.462 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005705/8.195, allocations: 1.675 MB / 4.463 GB, free: 114.8 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.003209/8.198, allocations: 2.538 MB / 4.466 GB, free: 114 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002475/8.201, allocations: 1.46 MB / 4.467 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/8.201, allocations: 0.9375 kB / 4.467 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000761/8.201, allocations: 435.3 kB / 4.467 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003356/8.205, allocations: 0.7017 MB / 4.468 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/8.209, allocations: 1.996 MB / 4.47 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/8.21, allocations: 1.483 MB / 4.472 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/8.21, allocations: 0 / 4.472 GB, free: 112.4 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)