Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="IDEAS_dev_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.004277/0.004277, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7232/0.7232, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.566/1.566, 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.001034/0.001034, allocations: 100.5 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5275/0.5286, allocations: 88.42 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.7292, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.462/5.191, allocations: 1.907 GB / 2.541 GB, free: 38.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/5.192, allocations: 83.95 kB / 2.541 GB, free: 38.47 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.391/10.58, allocations: 1.557 GB / 4.097 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/10.58, allocations: 10.78 kB / 4.097 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007046/10.59, allocations: 0.904 MB / 4.098 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009246/10.6, allocations: 3.097 MB / 4.101 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/10.6, allocations: 43.66 kB / 4.101 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/10.6, allocations: 96.84 kB / 4.101 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002589/10.6, allocations: 1.335 MB / 4.103 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/10.61, allocations: 1.503 MB / 4.104 GB, free: 68.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/10.61, allocations: 4.891 kB / 4.104 GB, free: 68.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/10.61, allocations: 1.031 kB / 4.104 GB, free: 68.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/10.61, allocations: 52.98 kB / 4.104 GB, free: 68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/10.62, allocations: 7.836 MB / 4.112 GB, free: 64.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/10.62, allocations: 0.9825 MB / 4.113 GB, free: 64.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/10.62, allocations: 0.601 MB / 4.113 GB, free: 64.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003529/10.62, allocations: 280.5 kB / 4.114 GB, free: 63.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/10.62, allocations: 46.95 kB / 4.114 GB, free: 63.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.737e-06/10.62, allocations: 3.938 kB / 4.114 GB, free: 63.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004782/10.63, allocations: 1.4 MB / 4.115 GB, free: 63.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/10.63, allocations: 59.75 kB / 4.115 GB, free: 63.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/10.63, allocations: 1.379 MB / 4.116 GB, free: 63.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001895/10.63, allocations: 25.7 kB / 4.116 GB, free: 63.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/10.63, allocations: 0.6341 MB / 4.117 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/10.63, allocations: 288.6 kB / 4.117 GB, free: 62.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/10.63, allocations: 0 / 4.117 GB, free: 62.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/10.63, allocations: 350.8 kB / 4.118 GB, free: 62.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/10.63, allocations: 423.9 kB / 4.118 GB, free: 62.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/10.63, allocations: 0.8469 MB / 4.119 GB, free: 61.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/10.63, allocations: 0.5949 MB / 4.119 GB, free: 61.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/10.63, allocations: 0 / 4.119 GB, free: 61.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004357/10.64, allocations: 1.638 MB / 4.121 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001069/10.64, allocations: 3.854 MB / 4.125 GB, free: 56.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/10.64, allocations: 7.125 kB / 4.125 GB, free: 56.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/10.64, allocations: 315.9 kB / 4.125 GB, free: 56.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/10.64, allocations: 254.1 kB / 4.125 GB, free: 56.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/10.65, allocations: 3.641 MB / 4.129 GB, free: 53.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/10.65, allocations: 165.5 kB / 4.129 GB, free: 53.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/10.65, allocations: 80.45 kB / 4.129 GB, free: 53.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/10.65, allocations: 3.875 kB / 4.129 GB, free: 53.41 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003944/10.65, allocations: 1.333 MB / 4.13 GB, free: 52.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/10.65, allocations: 14.17 kB / 4.13 GB, free: 52.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/10.65, allocations: 314.9 kB / 4.131 GB, free: 52.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/10.65, allocations: 235.2 kB / 4.131 GB, free: 52.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/10.66, allocations: 4.944 MB / 4.136 GB, free: 49.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/10.66, allocations: 147.3 kB / 4.136 GB, free: 48.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/10.66, allocations: 68.2 kB / 4.136 GB, free: 48.96 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.0005387/10.66, allocations: 149.1 kB / 4.136 GB, free: 48.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000581/10.66, allocations: 192.6 kB / 4.136 GB, free: 48.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/10.67, allocations: 1.397 MB / 4.138 GB, free: 48.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/10.67, allocations: 12.69 kB / 4.138 GB, free: 48.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/10.67, allocations: 0.6562 kB / 4.138 GB, free: 48.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002709/10.67, allocations: 1.173 MB / 4.139 GB, free: 47.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/10.68, allocations: 2.912 MB / 4.142 GB, free: 46.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/10.68, allocations: 0.625 kB / 4.142 GB, free: 46.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/10.68, allocations: 187.1 kB / 4.142 GB, free: 46.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007099/10.68, allocations: 230.7 kB / 4.142 GB, free: 46.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/10.68, allocations: 14.38 kB / 4.142 GB, free: 46.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/10.68, allocations: 3.494 MB / 4.146 GB, free: 43.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/10.68, allocations: 1.656 kB / 4.146 GB, free: 43.22 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005151/10.69, allocations: 1.992 MB / 4.147 GB, free: 42.2 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00566/10.69, allocations: 3.129 MB / 4.151 GB, free: 39.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/10.7, allocations: 373.3 kB / 4.151 GB, free: 38.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/10.7, allocations: 9.719 kB / 4.151 GB, free: 38.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/10.7, allocations: 103.4 kB / 4.151 GB, free: 38.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/10.7, allocations: 57.64 kB / 4.151 GB, free: 38.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/10.7, allocations: 39.78 kB / 4.151 GB, free: 38.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001793/10.7, allocations: 1.035 MB / 4.152 GB, free: 37.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008541/10.71, allocations: 2.464 MB / 4.154 GB, free: 35.37 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.006052/10.71, allocations: 4.679 MB / 4.159 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004634/10.72, allocations: 2.086 MB / 4.161 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/10.72, allocations: 0 / 4.161 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/10.72, allocations: 0.5887 MB / 4.162 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/10.73, allocations: 0.8846 MB / 4.163 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/10.73, allocations: 2.916 MB / 4.165 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/10.73, allocations: 1.815 MB / 4.167 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/10.73, allocations: 0 / 4.167 GB, free: 24.12 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)