Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.005119/0.005119, allocations: 173.9 kB / 7.45 MB, free: 2.004 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.916/0.916, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 90.42 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5162/0.5174, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.7179, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.567/5.285, allocations: 1.907 GB / 2.541 GB, free: 52.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/5.285, allocations: 91.95 kB / 2.541 GB, free: 52.44 MB / 0.6823 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 5.917/11.2, allocations: 1.557 GB / 4.097 GB, free: 67.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/11.2, allocations: 10.12 kB / 4.097 GB, free: 67.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006847/11.21, allocations: 0.9038 MB / 4.098 GB, free: 67.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008588/11.22, allocations: 3.097 MB / 4.101 GB, free: 67.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/11.22, allocations: 48.12 kB / 4.101 GB, free: 67.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/11.22, allocations: 89.81 kB / 4.101 GB, free: 67.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002654/11.22, allocations: 1.341 MB / 4.103 GB, free: 67.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/11.22, allocations: 1.497 MB / 4.104 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/11.22, allocations: 3.938 kB / 4.104 GB, free: 66.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/11.22, allocations: 2.875 kB / 4.104 GB, free: 66.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/11.22, allocations: 50.98 kB / 4.104 GB, free: 66.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/11.24, allocations: 7.847 MB / 4.112 GB, free: 62.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/11.24, allocations: 0.9873 MB / 4.113 GB, free: 62.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008781/11.24, allocations: 0.6006 MB / 4.113 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/11.24, allocations: 281 kB / 4.114 GB, free: 62.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/11.24, allocations: 44.88 kB / 4.114 GB, free: 62.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.326e-06/11.24, allocations: 0 / 4.114 GB, free: 62.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004707/11.24, allocations: 1.407 MB / 4.115 GB, free: 62.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/11.24, allocations: 63.22 kB / 4.115 GB, free: 62.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/11.25, allocations: 1.372 MB / 4.116 GB, free: 62.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002101/11.25, allocations: 29.42 kB / 4.116 GB, free: 62.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/11.25, allocations: 0.6275 MB / 4.117 GB, free: 61.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000391/11.25, allocations: 288.9 kB / 4.117 GB, free: 61.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/11.25, allocations: 0 / 4.117 GB, free: 61.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001376/11.25, allocations: 354.3 kB / 4.118 GB, free: 61.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/11.25, allocations: 423.8 kB / 4.118 GB, free: 61.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/11.25, allocations: 0.8443 MB / 4.119 GB, free: 60.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/11.25, allocations: 0.5939 MB / 4.119 GB, free: 60.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/11.25, allocations: 2.875 kB / 4.119 GB, free: 60.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004479/11.26, allocations: 1.64 MB / 4.121 GB, free: 60.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008092/11.26, allocations: 3.857 MB / 4.125 GB, free: 56.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/11.26, allocations: 7.875 kB / 4.125 GB, free: 56.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/11.26, allocations: 301.4 kB / 4.125 GB, free: 56.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/11.26, allocations: 254 kB / 4.125 GB, free: 56.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/11.26, allocations: 3.651 MB / 4.129 GB, free: 53.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/11.27, allocations: 170.2 kB / 4.129 GB, free: 53.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/11.27, allocations: 81.17 kB / 4.129 GB, free: 53.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/11.27, allocations: 2.719 kB / 4.129 GB, free: 53.49 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004191/11.27, allocations: 1.33 MB / 4.13 GB, free: 53.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/11.27, allocations: 9.438 kB / 4.13 GB, free: 53.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/11.27, allocations: 321.3 kB / 4.131 GB, free: 53.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/11.27, allocations: 227.2 kB / 4.131 GB, free: 53.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/11.28, allocations: 4.94 MB / 4.136 GB, free: 49.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/11.28, allocations: 150 kB / 4.136 GB, free: 49.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/11.28, allocations: 72.12 kB / 4.136 GB, free: 49.92 MB / 0.7292 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.000693/11.28, allocations: 149 kB / 4.136 GB, free: 49.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/11.28, allocations: 192.4 kB / 4.136 GB, free: 49.69 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/11.29, allocations: 1.395 MB / 4.138 GB, free: 49.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/11.29, allocations: 13.66 kB / 4.138 GB, free: 49.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/11.29, allocations: 2.156 kB / 4.138 GB, free: 49.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002495/11.29, allocations: 1.165 MB / 4.139 GB, free: 49.34 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007756/11.3, allocations: 2.922 MB / 4.142 GB, free: 48.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/11.3, allocations: 1.469 kB / 4.142 GB, free: 48.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/11.3, allocations: 184.9 kB / 4.142 GB, free: 48.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007213/11.3, allocations: 224.8 kB / 4.142 GB, free: 48.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/11.3, allocations: 18.7 kB / 4.142 GB, free: 48.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/11.3, allocations: 3.483 MB / 4.146 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/11.3, allocations: 2.938 kB / 4.146 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005381/11.31, allocations: 1.99 MB / 4.147 GB, free: 44.1 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006867/11.32, allocations: 3.133 MB / 4.151 GB, free: 42.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/11.32, allocations: 378.5 kB / 4.151 GB, free: 42.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/11.32, allocations: 5.938 kB / 4.151 GB, free: 42.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/11.32, allocations: 102.5 kB / 4.151 GB, free: 42.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/11.32, allocations: 50.48 kB / 4.151 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/11.32, allocations: 40.16 kB / 4.151 GB, free: 42.01 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0023/11.32, allocations: 1.046 MB / 4.152 GB, free: 41.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009882/11.33, allocations: 2.457 MB / 4.154 GB, free: 40.12 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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.00926/11.34, allocations: 4.693 MB / 4.159 GB, free: 38.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005111/11.35, allocations: 2.083 MB / 4.161 GB, free: 36.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/11.35, allocations: 2.719 kB / 4.161 GB, free: 36.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/11.35, allocations: 0.5942 MB / 4.162 GB, free: 35.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005206/11.35, allocations: 0.8719 MB / 4.163 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/11.36, allocations: 2.906 MB / 4.165 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/11.36, allocations: 1.834 MB / 4.167 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/11.36, allocations: 0 / 4.167 GB, free: 31.28 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)