Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",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.056/2.056, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001181/0.001181, allocations: 189.2 kB / 487 MB, free: 5.363 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.538/1.538, 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.0009368/0.0009367, allocations: 95.02 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6203/0.6212, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.9044, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.536/5.44, allocations: 1.945 GB / 3.15 GB, free: 325.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/5.441, allocations: 88.2 kB / 3.15 GB, free: 325.7 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 4.718/10.16, allocations: 1.557 GB / 4.707 GB, free: 72.19 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/10.16, allocations: 9 kB / 4.707 GB, free: 72.18 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007423/10.17, allocations: 1.085 MB / 4.708 GB, free: 71.09 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008279/10.17, allocations: 3.175 MB / 4.711 GB, free: 67.84 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/10.17, allocations: 44 kB / 4.711 GB, free: 67.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/10.18, allocations: 88 kB / 4.712 GB, free: 67.71 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00238/10.18, allocations: 1.372 MB / 4.713 GB, free: 66.34 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/10.18, allocations: 1.517 MB / 4.714 GB, free: 64.76 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/10.18, allocations: 4 kB / 4.714 GB, free: 64.76 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/10.18, allocations: 4 kB / 4.714 GB, free: 64.75 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-05/10.18, allocations: 46.67 kB / 4.714 GB, free: 64.71 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/10.19, allocations: 8.043 MB / 4.722 GB, free: 56.12 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/10.19, allocations: 0.9975 MB / 4.723 GB, free: 55.12 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008335/10.19, allocations: 0.6084 MB / 4.724 GB, free: 54.51 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/10.19, allocations: 288 kB / 4.724 GB, free: 54.18 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/10.19, allocations: 51.28 kB / 4.724 GB, free: 54.11 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 2.986e-06/10.19, allocations: 3.938 kB / 4.724 GB, free: 54.11 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.004273/10.2, allocations: 1.424 MB / 4.726 GB, free: 52.66 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/10.2, allocations: 60.19 kB / 4.726 GB, free: 52.59 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/10.2, allocations: 1.372 MB / 4.727 GB, free: 51.19 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/10.2, allocations: 25.7 kB / 4.727 GB, free: 51.16 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/10.2, allocations: 0.6326 MB / 4.728 GB, free: 50.51 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/10.2, allocations: 283.8 kB / 4.728 GB, free: 50.23 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/10.2, allocations: 0 / 4.728 GB, free: 50.23 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/10.2, allocations: 357.8 kB / 4.728 GB, free: 49.88 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/10.2, allocations: 430.5 kB / 4.729 GB, free: 49.45 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/10.2, allocations: 0.8561 MB / 4.729 GB, free: 48.41 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/10.2, allocations: 0.5965 MB / 4.73 GB, free: 47.81 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/10.2, allocations: 7.938 kB / 4.73 GB, free: 47.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003591/10.21, allocations: 1.655 MB / 4.732 GB, free: 46.13 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006141/10.21, allocations: 3.857 MB / 4.735 GB, free: 42.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/10.21, allocations: 12 kB / 4.735 GB, free: 42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009715/10.21, allocations: 310.3 kB / 4.736 GB, free: 41.69 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/10.21, allocations: 267.6 kB / 4.736 GB, free: 41.43 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/10.21, allocations: 3.638 MB / 4.74 GB, free: 37.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/10.22, allocations: 194.8 kB / 4.74 GB, free: 37.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/10.22, allocations: 80.02 kB / 4.74 GB, free: 37.33 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/10.22, allocations: 4 kB / 4.74 GB, free: 37.33 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003273/10.22, allocations: 1.358 MB / 4.741 GB, free: 35.96 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/10.22, allocations: 8 kB / 4.741 GB, free: 35.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/10.22, allocations: 314.8 kB / 4.741 GB, free: 35.64 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/10.22, allocations: 251.6 kB / 4.742 GB, free: 35.39 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005946/10.23, allocations: 4.944 MB / 4.747 GB, free: 30.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/10.23, allocations: 175.1 kB / 4.747 GB, free: 29.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/10.23, allocations: 72.03 kB / 4.747 GB, free: 29.88 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004119/10.23, allocations: 128.7 kB / 4.747 GB, free: 29.74 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/10.23, allocations: 201.4 kB / 4.747 GB, free: 29.54 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/10.23, allocations: 1.435 MB / 4.748 GB, free: 28.09 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/10.23, allocations: 12 kB / 4.748 GB, free: 28.08 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/10.23, allocations: 0 / 4.748 GB, free: 28.08 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002405/10.24, allocations: 1.187 MB / 4.75 GB, free: 26.85 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006063/10.24, allocations: 2.96 MB / 4.753 GB, free: 23.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/10.24, allocations: 7.969 kB / 4.753 GB, free: 23.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/10.24, allocations: 195.9 kB / 4.753 GB, free: 23.61 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006013/10.24, allocations: 238.3 kB / 4.753 GB, free: 23.37 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/10.24, allocations: 11.98 kB / 4.753 GB, free: 23.36 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/10.25, allocations: 3.482 MB / 4.756 GB, free: 19.68 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/10.25, allocations: 3.984 kB / 4.756 GB, free: 19.68 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003514/10.25, allocations: 2.008 MB / 4.758 GB, free: 17.59 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004914/10.25, allocations: 3.146 MB / 4.761 GB, free: 14.37 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/10.26, allocations: 378.2 kB / 4.762 GB, free: 13.98 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005585/10.26, allocations: 7.984 kB / 4.762 GB, free: 13.97 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/10.26, allocations: 115.7 kB / 4.762 GB, free: 13.86 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/10.26, allocations: 56.61 kB / 4.762 GB, free: 13.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.917e-05/10.26, allocations: 35.97 kB / 4.762 GB, free: 13.77 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.002025/10.26, allocations: 1.044 MB / 4.763 GB, free: 12.71 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008803/10.27, allocations: 2.466 MB / 4.765 GB, free: 10.24 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005991/10.28, allocations: 4.676 MB / 4.77 GB, free: 5.16 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003772/10.28, allocations: 2.122 MB / 4.772 GB, free: 3.012 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/10.28, allocations: 320 / 4.772 GB, free: 3.012 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009549/10.28, allocations: 0.6057 MB / 4.773 GB, free: 2.395 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00402/10.28, allocations: 0.882 MB / 4.773 GB, free: 1.52 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/10.29, allocations: 2.923 MB / 4.776 GB, free: 14.52 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/10.29, allocations: 1.831 MB / 4.778 GB, free: 12.66 MB / 1.182 GB Notification: Performance of SimCode: time 8.92e-07/10.29, allocations: 0 / 4.778 GB, free: 12.66 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)