Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.022/2.022, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001113/0.001113, allocations: 177.3 kB / 487 MB, free: 5.375 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.32/1.32, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.001165/0.001165, allocations: 88.67 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.602/0.6033, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.8782, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/1.617, allocations: 160.5 MB / 1.362 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.617, allocations: 82.88 kB / 1.362 GB, free: 13.76 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.03128/1.648, allocations: 11.43 MB / 1.373 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/1.648, allocations: 8 kB / 1.373 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/1.649, allocations: 151.6 kB / 1.373 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/1.651, allocations: 0.6717 MB / 1.374 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.651, allocations: 3.938 kB / 1.374 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/1.651, allocations: 8 kB / 1.374 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002085/1.651, allocations: 135.1 kB / 1.374 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/1.651, allocations: 125.7 kB / 1.374 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/1.651, allocations: 4 kB / 1.374 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/1.651, allocations: 0 / 1.374 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/1.651, allocations: 3.938 kB / 1.374 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/1.652, allocations: 0.497 MB / 1.375 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/1.652, allocations: 146 kB / 1.375 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/1.652, allocations: 68.7 kB / 1.375 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/1.652, allocations: 7.984 kB / 1.375 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/1.652, allocations: 34.56 kB / 1.375 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/1.652, allocations: 0 / 1.375 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0004488/1.653, allocations: 198.8 kB / 1.375 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/1.653, allocations: 51.41 kB / 1.375 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/1.653, allocations: 267.7 kB / 1.376 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/1.653, allocations: 25.7 kB / 1.376 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/1.653, allocations: 122.8 kB / 1.376 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/1.653, allocations: 26.95 kB / 1.376 GB, free: 2.473 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/1.653, allocations: 4 kB / 1.376 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/1.653, allocations: 335.7 kB / 1.376 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/1.653, allocations: 76.59 kB / 1.376 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/1.653, allocations: 139.9 kB / 1.376 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/1.654, allocations: 96.73 kB / 1.376 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.654, allocations: 0 / 1.376 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004974/1.654, allocations: 265.2 kB / 1.377 GB, free: 1.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.654, allocations: 0.6945 MB / 1.377 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/1.654, allocations: 4 kB / 1.377 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.654, allocations: 7.906 kB / 1.377 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/1.655, allocations: 59.89 kB / 1.377 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.655, allocations: 7.984 kB / 1.377 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/1.655, allocations: 31.83 kB / 1.377 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/1.655, allocations: 19.61 kB / 1.377 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-06/1.655, allocations: 4 kB / 1.377 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003495/1.655, allocations: 174.2 kB / 1.378 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/1.655, allocations: 80 / 1.378 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-06/1.655, allocations: 4 kB / 1.378 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/1.656, allocations: 60.11 kB / 1.378 GB, free: 0.5977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/1.656, allocations: 7.984 kB / 1.378 GB, free: 0.5898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/1.656, allocations: 31.83 kB / 1.378 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/1.656, allocations: 15.98 kB / 1.378 GB, free: 0.543 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.656, allocations: 108.8 kB / 1.378 GB, free: 440 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/1.656, allocations: 23.72 kB / 1.378 GB, free: 416 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/1.657, allocations: 186 kB / 1.378 GB, free: 252 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.657, allocations: 0 / 1.378 GB, free: 252 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.657, allocations: 8 kB / 1.378 GB, free: 244 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.657, allocations: 0 / 1.378 GB, free: 244 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/1.657, allocations: 252 kB / 1.378 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.657, allocations: 0 / 1.378 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.657, allocations: 35.97 kB / 1.378 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.657, allocations: 0 / 1.378 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/1.657, allocations: 8 kB / 1.378 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.657, allocations: 0 / 1.378 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.657, allocations: 3.906 kB / 1.378 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003201/1.657, allocations: 247 kB / 1.379 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005347/1.658, allocations: 0.6233 MB / 1.379 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.658, allocations: 119.5 kB / 1.379 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/1.658, allocations: 96 / 1.379 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/1.658, allocations: 23.92 kB / 1.379 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/1.658, allocations: 7.984 kB / 1.379 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/1.659, allocations: 7.984 kB / 1.379 GB, free: 14.94 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000193/1.659, allocations: 214.1 kB / 1.38 GB, free: 14.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001916/1.661, allocations: 210 kB / 1.38 GB, free: 14.61 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007494/1.661, allocations: 392.2 kB / 1.38 GB, free: 14.23 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005086/1.662, allocations: 264 kB / 1.38 GB, free: 14.04 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.662, allocations: 4.312 kB / 1.38 GB, free: 14.04 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/1.662, allocations: 48.98 kB / 1.38 GB, free: 14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/1.662, allocations: 83.81 kB / 1.38 GB, free: 13.94 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/1.663, allocations: 339.4 kB / 1.381 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/1.664, allocations: 0.8137 MB / 1.382 GB, free: 12.79 MB / 0.823 GB Notification: Performance of SimCode: time 3.1e-07/1.664, allocations: 0 / 1.382 GB, free: 12.79 MB / 0.823 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)