Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.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_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y",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.005813/0.005813, allocations: 184.1 kB / 7.458 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7576/0.7576, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.605/1.605, allocations: 221.3 MB / 395 MB, free: 10.2 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.001125/0.001126, allocations: 103.3 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5388/0.5399, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.7939, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.17/5.964, allocations: 1.907 GB / 2.541 GB, free: 51.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/5.964, allocations: 87.95 kB / 2.541 GB, free: 51.27 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.956/11.92, allocations: 1.557 GB / 4.097 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/11.92, allocations: 17 kB / 4.097 GB, free: 68.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007063/11.93, allocations: 0.9019 MB / 4.098 GB, free: 68.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00916/11.94, allocations: 3.103 MB / 4.101 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/11.94, allocations: 45.19 kB / 4.101 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/11.94, allocations: 92.94 kB / 4.101 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002828/11.94, allocations: 1.338 MB / 4.103 GB, free: 68.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/11.94, allocations: 1.499 MB / 4.104 GB, free: 67.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/11.94, allocations: 3.969 kB / 4.104 GB, free: 67.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/11.94, allocations: 0 / 4.104 GB, free: 67.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/11.94, allocations: 56.56 kB / 4.104 GB, free: 67.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/11.96, allocations: 7.835 MB / 4.112 GB, free: 63.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/11.96, allocations: 0.9837 MB / 4.113 GB, free: 63.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/11.96, allocations: 0.605 MB / 4.113 GB, free: 63.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/11.96, allocations: 281.1 kB / 4.114 GB, free: 63.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/11.96, allocations: 53.47 kB / 4.114 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.747e-06/11.96, allocations: 3.891 kB / 4.114 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004449/11.96, allocations: 1.408 MB / 4.115 GB, free: 63.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/11.96, allocations: 61.47 kB / 4.115 GB, free: 63.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/11.97, allocations: 1.373 MB / 4.116 GB, free: 63.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/11.97, allocations: 25.7 kB / 4.116 GB, free: 63.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/11.97, allocations: 0.6268 MB / 4.117 GB, free: 62.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/11.97, allocations: 292.6 kB / 4.117 GB, free: 62.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/11.97, allocations: 0 / 4.117 GB, free: 62.56 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/11.97, allocations: 352 kB / 4.118 GB, free: 62.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008547/11.97, allocations: 421.2 kB / 4.118 GB, free: 62.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/11.97, allocations: 0.8443 MB / 4.119 GB, free: 61.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/11.97, allocations: 0.5919 MB / 4.119 GB, free: 61.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/11.97, allocations: 2.219 kB / 4.119 GB, free: 61.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004299/11.97, allocations: 1.638 MB / 4.121 GB, free: 61.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001084/11.98, allocations: 3.856 MB / 4.125 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/11.98, allocations: 11.88 kB / 4.125 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/11.98, allocations: 303.9 kB / 4.125 GB, free: 57.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/11.98, allocations: 257.2 kB / 4.125 GB, free: 57.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/11.98, allocations: 3.643 MB / 4.129 GB, free: 54.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/11.98, allocations: 171.1 kB / 4.129 GB, free: 54.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/11.98, allocations: 76.05 kB / 4.129 GB, free: 54.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/11.98, allocations: 3.969 kB / 4.129 GB, free: 54.54 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004392/11.99, allocations: 1.338 MB / 4.13 GB, free: 54.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/11.99, allocations: 11.78 kB / 4.13 GB, free: 54.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/11.99, allocations: 311.7 kB / 4.131 GB, free: 54.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/11.99, allocations: 232.2 kB / 4.131 GB, free: 54.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006566/12, allocations: 4.941 MB / 4.136 GB, free: 51.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/12, allocations: 148 kB / 4.136 GB, free: 50.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/12, allocations: 69.45 kB / 4.136 GB, free: 50.97 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.0006962/12, allocations: 139.5 kB / 4.136 GB, free: 50.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007509/12, allocations: 192.1 kB / 4.136 GB, free: 50.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/12.01, allocations: 1.4 MB / 4.138 GB, free: 50.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/12.01, allocations: 18.22 kB / 4.138 GB, free: 50.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/12.01, allocations: 0 / 4.138 GB, free: 50.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002651/12.01, allocations: 1.161 MB / 4.139 GB, free: 50.01 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007928/12.02, allocations: 2.922 MB / 4.142 GB, free: 48.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/12.02, allocations: 6.312 kB / 4.142 GB, free: 48.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/12.02, allocations: 187.5 kB / 4.142 GB, free: 48.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006695/12.02, allocations: 228.5 kB / 4.142 GB, free: 48.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/12.02, allocations: 14.45 kB / 4.142 GB, free: 48.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003113/12.02, allocations: 3.478 MB / 4.145 GB, free: 45.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/12.02, allocations: 2.094 kB / 4.145 GB, free: 45.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005057/12.03, allocations: 1.996 MB / 4.147 GB, free: 44.54 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006362/12.03, allocations: 3.128 MB / 4.151 GB, free: 42.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/12.03, allocations: 379.6 kB / 4.151 GB, free: 42.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009101/12.04, allocations: 3.125 kB / 4.151 GB, free: 42.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/12.04, allocations: 103.4 kB / 4.151 GB, free: 42.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/12.04, allocations: 59.7 kB / 4.151 GB, free: 42.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/12.04, allocations: 43.64 kB / 4.151 GB, free: 42.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.003304/12.04, allocations: 1.036 MB / 4.152 GB, free: 41.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01061/12.05, allocations: 2.462 MB / 4.154 GB, free: 40.56 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.0102/12.06, allocations: 4.682 MB / 4.159 GB, free: 38.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005474/12.07, allocations: 2.087 MB / 4.161 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/12.07, allocations: 0 / 4.161 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/12.07, allocations: 0.5901 MB / 4.162 GB, free: 35.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/12.07, allocations: 0.8928 MB / 4.163 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008676/12.08, allocations: 2.901 MB / 4.165 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/12.09, allocations: 1.823 MB / 4.167 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.222e-06/12.09, allocations: 0 / 4.167 GB, free: 31.23 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)