Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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 9.1.1-maint.9.1.x/package.mo): time 2.148/2.148, allocations: 387.2 MB / 394.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 177.3 kB / 487 MB, free: 5.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.3 MB / 0.7819 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009607/0.0009605, allocations: 89.94 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6703/0.6713, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.9918, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.764/5.756, allocations: 1.981 GB / 3.186 GB, free: 324.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/5.756, allocations: 79.95 kB / 3.186 GB, free: 324.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.5465/6.302, allocations: 272.3 MB / 3.452 GB, free: 46.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/6.302, allocations: 8 kB / 3.452 GB, free: 46.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/6.304, allocations: 163 kB / 3.452 GB, free: 46.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/6.305, allocations: 0.5471 MB / 3.453 GB, free: 46.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/6.305, allocations: 20 kB / 3.453 GB, free: 46.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.858e-05/6.305, allocations: 32 kB / 3.453 GB, free: 46.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008589/6.306, allocations: 454.4 kB / 3.453 GB, free: 45.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/6.307, allocations: 0.537 MB / 3.454 GB, free: 45.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/6.307, allocations: 0 / 3.454 GB, free: 45.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/6.307, allocations: 3.938 kB / 3.454 GB, free: 45.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/6.307, allocations: 25.31 kB / 3.454 GB, free: 45.04 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/6.31, allocations: 2.188 MB / 3.456 GB, free: 42.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/6.311, allocations: 214.8 kB / 3.456 GB, free: 42.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/6.311, allocations: 108.8 kB / 3.456 GB, free: 42.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/6.311, allocations: 4 kB / 3.456 GB, free: 42.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/6.311, allocations: 38.55 kB / 3.456 GB, free: 42.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/6.311, allocations: 0 / 3.456 GB, free: 42.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0007798/6.312, allocations: 309.5 kB / 3.457 GB, free: 42.02 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/6.312, allocations: 77.45 kB / 3.457 GB, free: 41.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/6.312, allocations: 369 kB / 3.457 GB, free: 41.56 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/6.312, allocations: 25.7 kB / 3.457 GB, free: 41.53 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/6.312, allocations: 298.8 kB / 3.457 GB, free: 41.23 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/6.312, allocations: 70.94 kB / 3.458 GB, free: 41.16 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.635e-05/6.312, allocations: 4 kB / 3.458 GB, free: 41.16 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/6.312, allocations: 350.8 kB / 3.458 GB, free: 40.81 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/6.313, allocations: 108.6 kB / 3.458 GB, free: 40.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/6.313, allocations: 195.8 kB / 3.458 GB, free: 40.47 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/6.313, allocations: 143.9 kB / 3.458 GB, free: 40.33 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/6.313, allocations: 4 kB / 3.458 GB, free: 40.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006897/6.314, allocations: 430.5 kB / 3.459 GB, free: 39.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/6.314, allocations: 4 kB / 3.459 GB, free: 39.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/6.314, allocations: 4 kB / 3.459 GB, free: 39.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/6.314, allocations: 93.88 kB / 3.459 GB, free: 39.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/6.314, allocations: 71.91 kB / 3.459 GB, free: 39.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/6.316, allocations: 2.814 MB / 3.462 GB, free: 36.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/6.317, allocations: 43.73 kB / 3.462 GB, free: 36.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/6.317, allocations: 8 kB / 3.462 GB, free: 36.62 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001143/6.317, allocations: 116.9 kB / 3.462 GB, free: 36.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/6.317, allocations: 47.53 kB / 3.462 GB, free: 36.46 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/6.317, allocations: 43.45 kB / 3.462 GB, free: 36.41 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/6.317, allocations: 4.188 kB / 3.462 GB, free: 36.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/6.317, allocations: 4 kB / 3.462 GB, free: 36.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004893/6.318, allocations: 0.4883 MB / 3.462 GB, free: 35.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/6.319, allocations: 0.8055 MB / 3.463 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/6.319, allocations: 0 / 3.463 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/6.319, allocations: 47.91 kB / 3.463 GB, free: 34.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/6.319, allocations: 56.89 kB / 3.463 GB, free: 34.88 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/6.319, allocations: 7.984 kB / 3.463 GB, free: 34.87 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/6.32, allocations: 1.522 MB / 3.465 GB, free: 33.23 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/6.321, allocations: 4 kB / 3.465 GB, free: 33.23 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005161/6.321, allocations: 432.1 kB / 3.465 GB, free: 32.77 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007234/6.322, allocations: 0.8359 MB / 3.466 GB, free: 31.89 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/6.322, allocations: 156.4 kB / 3.466 GB, free: 31.72 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/6.322, allocations: 4 kB / 3.466 GB, free: 31.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/6.323, allocations: 27.97 kB / 3.466 GB, free: 31.69 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/6.323, allocations: 15.89 kB / 3.466 GB, free: 31.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/6.323, allocations: 15.98 kB / 3.466 GB, free: 31.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002893/6.323, allocations: 283.1 kB / 3.466 GB, free: 31.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001819/6.325, allocations: 379.3 kB / 3.467 GB, free: 31.02 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 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 Backend phase and start with SimCode phase: time 0.001594/6.326, allocations: 1.069 MB / 3.468 GB, free: 29.95 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000706/6.327, allocations: 471.6 kB / 3.468 GB, free: 29.46 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/6.327, allocations: 0 / 3.468 GB, free: 29.46 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/6.327, allocations: 206.4 kB / 3.468 GB, free: 29.25 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/6.329, allocations: 234 kB / 3.469 GB, free: 29.03 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/6.33, allocations: 0.6408 MB / 3.469 GB, free: 28.35 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/6.33, allocations: 0.951 MB / 3.47 GB, free: 27.38 MB / 1.151 GB Notification: Performance of SimCode: time 4.41e-07/6.33, allocations: 0 / 3.47 GB, free: 27.38 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)