Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 6.922 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.0009732/0.0009732, allocations: 185.2 kB / 316 MB, free: 3.543 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.207/1.207, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008343/0.0008344, allocations: 90.2 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3625/0.3634, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.5284, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.385/4.914, allocations: 2.459 GB / 3.344 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/4.914, allocations: 93.58 kB / 3.344 GB, free: 292.8 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 2.931/7.845, allocations: 1.084 GB / 4.428 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/7.846, allocations: 7.75 kB / 4.428 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/7.847, allocations: 386.1 kB / 4.428 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/7.85, allocations: 1.666 MB / 4.43 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/7.85, allocations: 47.17 kB / 4.43 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/7.85, allocations: 84.78 kB / 4.43 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001592/7.852, allocations: 0.9531 MB / 4.431 GB, free: 107 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/7.854, allocations: 1.228 MB / 4.432 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/7.854, allocations: 2.281 kB / 4.432 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/7.854, allocations: 2.375 kB / 4.432 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/7.854, allocations: 57.45 kB / 4.432 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006397/7.86, allocations: 7.219 MB / 4.439 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/7.861, allocations: 0.7701 MB / 4.44 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/7.862, allocations: 395.2 kB / 4.441 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/7.863, allocations: 0.723 MB / 4.441 GB, free: 102 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/7.863, allocations: 48.75 kB / 4.441 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=75): time 3.737e-06/7.863, allocations: 0 / 4.441 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.002887/7.865, allocations: 1.185 MB / 4.442 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/7.865, allocations: 58.25 kB / 4.442 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/7.867, allocations: 0.9356 MB / 4.443 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/7.867, allocations: 33.39 kB / 4.443 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/7.867, allocations: 0.5743 MB / 4.444 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/7.867, allocations: 248 kB / 4.444 GB, free: 101 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/7.867, allocations: 0 / 4.444 GB, free: 101 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/7.867, allocations: 341.1 kB / 4.445 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/7.868, allocations: 270 kB / 4.445 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/7.868, allocations: 0.5494 MB / 4.445 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/7.869, allocations: 452.5 kB / 4.446 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/7.869, allocations: 0 / 4.446 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002638/7.871, allocations: 1.257 MB / 4.447 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/7.872, allocations: 1.96 MB / 4.449 GB, free: 98.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/7.872, allocations: 6.781 kB / 4.449 GB, free: 98.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/7.873, allocations: 376.1 kB / 4.449 GB, free: 98.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/7.874, allocations: 148 kB / 4.449 GB, free: 98.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/7.875, allocations: 2.146 MB / 4.452 GB, free: 96.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/7.877, allocations: 155 kB / 4.452 GB, free: 96.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/7.877, allocations: 40.19 kB / 4.452 GB, free: 96.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/7.877, allocations: 3.688 kB / 4.452 GB, free: 96.59 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00242/7.879, allocations: 1.053 MB / 4.453 GB, free: 96.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/7.879, allocations: 7.812 kB / 4.453 GB, free: 96.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/7.881, allocations: 381.8 kB / 4.453 GB, free: 96.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/7.881, allocations: 146.5 kB / 4.453 GB, free: 96.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/7.884, allocations: 3.776 MB / 4.457 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/7.885, allocations: 141.6 kB / 4.457 GB, free: 93.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/7.885, allocations: 42.06 kB / 4.457 GB, free: 93.41 MB / 0.8855 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.0002199/7.885, allocations: 127.4 kB / 4.457 GB, free: 93.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/7.886, allocations: 149 kB / 4.457 GB, free: 93.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/7.888, allocations: 1.242 MB / 4.459 GB, free: 93.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/7.888, allocations: 10.16 kB / 4.459 GB, free: 93.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/7.888, allocations: 3.906 kB / 4.459 GB, free: 93.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002188/7.891, allocations: 1.336 MB / 4.46 GB, free: 92.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/7.894, allocations: 2.536 MB / 4.462 GB, free: 92.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/7.894, allocations: 5.344 kB / 4.462 GB, free: 92.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/7.895, allocations: 110.7 kB / 4.463 GB, free: 92.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/7.896, allocations: 363.9 kB / 4.463 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/7.896, allocations: 11.58 kB / 4.463 GB, free: 92.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/7.898, allocations: 2.128 MB / 4.465 GB, free: 90.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/7.898, allocations: 2.062 kB / 4.465 GB, free: 90.56 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001749/7.899, allocations: 1.338 MB / 4.466 GB, free: 90.04 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00196/7.901, allocations: 1.874 MB / 4.468 GB, free: 89.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006767/7.902, allocations: 339 kB / 4.468 GB, free: 88.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/7.902, allocations: 0 / 4.468 GB, free: 88.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/7.903, allocations: 116.3 kB / 4.469 GB, free: 88.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/7.903, allocations: 45.2 kB / 4.469 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/7.903, allocations: 36.02 kB / 4.469 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0009299/7.904, allocations: 0.7111 MB / 4.469 GB, free: 88.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004973/7.909, allocations: 1.679 MB / 4.471 GB, free: 88.68 MB / 0.8855 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.002799/7.912, allocations: 2.539 MB / 4.473 GB, free: 87.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002471/7.915, allocations: 1.459 MB / 4.475 GB, free: 87.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/7.915, allocations: 4.875 kB / 4.475 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006843/7.915, allocations: 434.6 kB / 4.475 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/7.919, allocations: 0.6872 MB / 4.476 GB, free: 87.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/7.924, allocations: 2.006 MB / 4.478 GB, free: 87.02 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/7.925, allocations: 1.489 MB / 4.479 GB, free: 86.3 MB / 0.8855 GB Notification: Performance of SimCode: time 9.81e-07/7.925, allocations: 2.531 kB / 4.479 GB, free: 86.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)