Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7399/0.7399, allocations: 141.8 MB / 149.1 MB, free: 13.8 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 183.9 kB / 182 MB, free: 10.41 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 436 MB, free: 2.996 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 96.55 kB / 0.507 GB, free: 18.08 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001936, allocations: 274.1 kB / 0.5885 GB, free: 4.43 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.035e-05, allocations: 1.344 kB / 0.6759 GB, free: 137.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2533, allocations: 82.78 MB / 0.7567 GB, free: 84.37 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.418/1.672, allocations: 395.8 MB / 1.143 GB, free: 255.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.672, allocations: 83.02 kB / 1.143 GB, free: 255.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.717/4.389, allocations: 0.7788 GB / 1.922 GB, free: 20.61 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0003796/4.389, allocations: 51.98 kB / 1.922 GB, free: 20.56 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.00659/4.396, allocations: 1.98 MB / 1.924 GB, free: 18.53 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/4.396, allocations: 8.031 kB / 1.924 GB, free: 18.52 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/4.4, allocations: 0.5945 MB / 1.925 GB, free: 17.92 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03773/4.438, allocations: 14.39 MB / 1.939 GB, free: 3.355 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/4.438, allocations: 36 kB / 1.939 GB, free: 3.32 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/4.439, allocations: 68 kB / 1.939 GB, free: 3.254 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002451/4.441, allocations: 0.8749 MB / 1.94 GB, free: 2.375 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/4.444, allocations: 1.067 MB / 1.941 GB, free: 1.234 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/4.444, allocations: 0 / 1.941 GB, free: 1.234 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/4.444, allocations: 4 kB / 1.941 GB, free: 1.23 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/4.444, allocations: 27.91 kB / 1.941 GB, free: 1.203 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/4.455, allocations: 5.706 MB / 1.946 GB, free: 11.14 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/4.457, allocations: 0.7003 MB / 1.947 GB, free: 10.44 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/4.457, allocations: 358.7 kB / 1.947 GB, free: 10.09 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005801/4.463, allocations: 2.742 MB / 1.95 GB, free: 7.055 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/4.463, allocations: 39.06 kB / 1.95 GB, free: 7.008 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=59): time 3.026e-06/4.463, allocations: 3.938 kB / 1.95 GB, free: 7.004 MB / 0.7138 GB Notification: Performance of matching and sorting (n=59): time 0.003636/4.467, allocations: 1.005 MB / 1.951 GB, free: 5.98 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/4.467, allocations: 55.91 kB / 1.951 GB, free: 5.914 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/4.47, allocations: 1.211 MB / 1.952 GB, free: 4.707 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/4.47, allocations: 29.7 kB / 1.952 GB, free: 4.672 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/4.471, allocations: 0.5448 MB / 1.953 GB, free: 4.117 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/4.471, allocations: 197.1 kB / 1.953 GB, free: 3.922 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/4.471, allocations: 0 / 1.953 GB, free: 3.922 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001996/4.472, allocations: 345.8 kB / 1.953 GB, free: 3.578 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/4.472, allocations: 317.8 kB / 1.954 GB, free: 3.27 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/4.473, allocations: 0.7381 MB / 1.954 GB, free: 2.332 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/4.475, allocations: 0.5287 MB / 1.955 GB, free: 1.805 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/4.476, allocations: 4 kB / 1.955 GB, free: 1.801 MB / 0.7138 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00485/4.48, allocations: 1.371 MB / 1.956 GB, free: 420 kB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.415/4.895, allocations: 4.325 MB / 1.961 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/4.895, allocations: 11.19 kB / 1.961 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008229/4.896, allocations: 197.6 kB / 1.961 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/4.897, allocations: 225.9 kB / 1.961 GB, free: 119.9 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/4.899, allocations: 1.887 MB / 1.963 GB, free: 118.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/4.9, allocations: 131.5 kB / 1.963 GB, free: 118.4 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/4.901, allocations: 79.69 kB / 1.963 GB, free: 118.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/4.901, allocations: 6 kB / 1.963 GB, free: 118.4 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003253/4.904, allocations: 1.095 MB / 1.964 GB, free: 118.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/4.904, allocations: 11.72 kB / 1.964 GB, free: 118.3 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/4.905, allocations: 207.1 kB / 1.964 GB, free: 118.3 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/4.905, allocations: 209.1 kB / 1.964 GB, free: 118.3 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/4.91, allocations: 3.712 MB / 1.968 GB, free: 115.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/4.912, allocations: 116.1 kB / 1.968 GB, free: 115.7 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/4.912, allocations: 68.33 kB / 1.968 GB, free: 115.7 MB / 0.7138 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * 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 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004179/4.912, allocations: 144.1 kB / 1.968 GB, free: 115.6 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/4.913, allocations: 161.4 kB / 1.969 GB, free: 115.6 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/4.916, allocations: 1.321 MB / 1.97 GB, free: 115.5 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/4.916, allocations: 18.28 kB / 1.97 GB, free: 115.5 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/4.916, allocations: 0 / 1.97 GB, free: 115.5 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/4.916, allocations: 3.141 kB / 1.97 GB, free: 115.5 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/4.921, allocations: 2.303 MB / 1.972 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/4.921, allocations: 3.781 kB / 1.972 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/4.922, allocations: 118.6 kB / 1.972 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/4.922, allocations: 166.1 kB / 1.972 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/4.922, allocations: 10.56 kB / 1.972 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/4.923, allocations: 1.827 MB / 1.974 GB, free: 113.5 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/4.923, allocations: 6.906 kB / 1.974 GB, free: 113.5 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00301/4.926, allocations: 1.285 MB / 1.975 GB, free: 113.1 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008449/4.927, allocations: 337.9 kB / 1.976 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/4.927, allocations: 3.609 kB / 1.976 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/4.928, allocations: 72.52 kB / 1.976 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/4.928, allocations: 48.47 kB / 1.976 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/4.928, allocations: 33.72 kB / 1.976 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001463/4.93, allocations: 0.9042 MB / 1.977 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003684/4.934, allocations: 1.022 MB / 1.978 GB, free: 112.8 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002586/4.936, allocations: 1.375 MB / 1.979 GB, free: 112.6 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002898/4.939, allocations: 1.543 MB / 1.981 GB, free: 112.5 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/4.939, allocations: 0 / 1.981 GB, free: 112.5 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/4.94, allocations: 413.8 kB / 1.981 GB, free: 112.5 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/4.943, allocations: 0.6558 MB / 1.982 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/4.948, allocations: 2.161 MB / 1.984 GB, free: 111.8 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/4.95, allocations: 1.574 MB / 1.985 GB, free: 111.1 MB / 0.7138 GB Notification: Performance of SimCode: time 1.282e-06/4.95, allocations: 0 / 1.985 GB, free: 111.1 MB / 0.7138 GB Notification: Performance of Templates: time 0.07653/5.026, allocations: 42.03 MB / 2.026 GB, free: 109.8 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)