Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [: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.553/1.553, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001099/0.001099, allocations: 177.3 kB / 366.3 MB, free: 1.992 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.494/1.494, allocations: 205.1 MB / 0.6256 GB, free: 5.902 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.0009785/0.0009785, allocations: 84.69 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/1.007e-05, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6917, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.8879, allocations: 150.2 MB / 1.119 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.8881, allocations: 91.88 kB / 1.119 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.0337/0.9219, allocations: 10.73 MB / 1.13 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.432e-05/0.9219, allocations: 15.98 kB / 1.13 GB, free: 3.426 MB / 0.7292 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.0009348/0.9229, allocations: 0.5249 MB / 1.13 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.9229, allocations: 8.031 kB / 1.13 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.9233, allocations: 51.67 kB / 1.13 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.9246, allocations: 0.6273 MB / 1.131 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.9246, allocations: 0 / 1.131 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.9246, allocations: 9.688 kB / 1.131 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000223/0.9249, allocations: 119.8 kB / 1.131 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.9251, allocations: 133.5 kB / 1.131 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.9251, allocations: 0 / 1.131 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.9251, allocations: 0 / 1.131 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.9251, allocations: 3.938 kB / 1.131 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.9259, allocations: 480.8 kB / 1.132 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.9261, allocations: 134.5 kB / 1.132 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.751e-05/0.9262, allocations: 60.83 kB / 1.132 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.9263, allocations: 4 kB / 1.132 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.9263, allocations: 38.55 kB / 1.132 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.9263, allocations: 0 / 1.132 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005087/0.9268, allocations: 187.6 kB / 1.132 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.9269, allocations: 59.41 kB / 1.132 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.9272, allocations: 259.5 kB / 1.132 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.9272, allocations: 29.64 kB / 1.132 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.9273, allocations: 128.3 kB / 1.133 GB, free: 432 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.9273, allocations: 19.66 kB / 1.133 GB, free: 412 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.9273, allocations: 1.031 kB / 1.133 GB, free: 412 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9275, allocations: 338.8 kB / 1.133 GB, free: 64 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.9276, allocations: 71.95 kB / 1.133 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.9278, allocations: 140.5 kB / 1.133 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.9281, allocations: 97.16 kB / 1.133 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9281, allocations: 0 / 1.133 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005045/0.9286, allocations: 252.1 kB / 1.133 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.9289, allocations: 0.6993 MB / 1.134 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.9289, allocations: 0 / 1.134 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.9289, allocations: 7.906 kB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.9292, allocations: 52.73 kB / 1.134 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.9292, allocations: 8 kB / 1.134 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.9294, allocations: 23.83 kB / 1.134 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.9294, allocations: 15.98 kB / 1.134 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.9294, allocations: 4 kB / 1.134 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003707/0.9298, allocations: 164 kB / 1.134 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.9298, allocations: 4 kB / 1.134 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.9298, allocations: 7.938 kB / 1.134 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.93, allocations: 43.91 kB / 1.134 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.9301, allocations: 4.938 kB / 1.134 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.9302, allocations: 27.86 kB / 1.135 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.9303, allocations: 11.98 kB / 1.135 GB, free: 14.36 MB / 0.7448 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 9.027e-05/0.9304, allocations: 111.7 kB / 1.135 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.9304, allocations: 27.62 kB / 1.135 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.9308, allocations: 168.4 kB / 1.135 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.9308, allocations: 0 / 1.135 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9308, allocations: 4 kB / 1.135 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.9308, allocations: 3.984 kB / 1.135 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.9311, allocations: 238 kB / 1.135 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9311, allocations: 4 kB / 1.135 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.9313, allocations: 32.53 kB / 1.135 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9313, allocations: 0 / 1.135 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.9313, allocations: 0 / 1.135 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.9313, allocations: 0 / 1.135 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.9313, allocations: 4 kB / 1.135 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002782/0.9316, allocations: 239.9 kB / 1.135 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.9317, allocations: 112.7 kB / 1.135 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.9317, allocations: 1.5 kB / 1.135 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.9319, allocations: 15.98 kB / 1.135 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.932, allocations: 4 kB / 1.135 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.932, allocations: 7.984 kB / 1.135 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001999/0.9322, allocations: 211.1 kB / 1.136 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007347/0.9329, allocations: 175.6 kB / 1.136 GB, free: 12.95 MB / 0.7448 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.0007072/0.9337, allocations: 390.3 kB / 1.136 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.9341, allocations: 248.4 kB / 1.136 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.9341, allocations: 4.375 kB / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.9342, allocations: 51.92 kB / 1.136 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.9346, allocations: 84.67 kB / 1.137 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.9353, allocations: 316.1 kB / 1.137 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.9358, allocations: 0.8148 MB / 1.138 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.9358, allocations: 3.938 kB / 1.138 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.01282/0.9486, allocations: 7.384 MB / 1.145 GB, free: 3.734 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)