Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="IDEAS_dev_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.003867/0.003867, allocations: 182.6 kB / 7.461 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.7211/0.7211, 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.655/1.655, allocations: 221.3 MB / 395 MB, free: 10.06 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.001087/0.001087, allocations: 112.7 kB / 477.8 MB, free: 10.65 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5211/0.5222, allocations: 88.42 MB / 0.5529 GB, free: 89.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.7062, allocations: 82.3 MB / 0.6333 GB, free: 13.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.579/5.285, allocations: 1.907 GB / 2.541 GB, free: 37.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/5.286, allocations: 91.94 kB / 2.541 GB, free: 37.29 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.438/10.72, allocations: 1.557 GB / 4.097 GB, free: 71.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/10.72, allocations: 11.97 kB / 4.097 GB, free: 71.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00743/10.73, allocations: 0.8939 MB / 4.098 GB, free: 71.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/10.74, allocations: 3.101 MB / 4.101 GB, free: 70.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-05/10.74, allocations: 44.12 kB / 4.101 GB, free: 70.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004267/10.74, allocations: 92.91 kB / 4.101 GB, free: 70.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002652/10.74, allocations: 1.342 MB / 4.103 GB, free: 70.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/10.75, allocations: 1.502 MB / 4.104 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/10.75, allocations: 5.031 kB / 4.104 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/10.75, allocations: 6.188 kB / 4.104 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.411e-05/10.75, allocations: 47.67 kB / 4.104 GB, free: 70.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/10.76, allocations: 7.837 MB / 4.112 GB, free: 64.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/10.76, allocations: 0.9797 MB / 4.113 GB, free: 64.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/10.76, allocations: 0.6021 MB / 4.113 GB, free: 64.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/10.77, allocations: 283.7 kB / 4.114 GB, free: 64.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/10.77, allocations: 43.39 kB / 4.114 GB, free: 64.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.747e-06/10.77, allocations: 0 / 4.114 GB, free: 64.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.005529/10.77, allocations: 1.407 MB / 4.115 GB, free: 63.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/10.77, allocations: 63.59 kB / 4.115 GB, free: 63.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/10.77, allocations: 1.375 MB / 4.116 GB, free: 62.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/10.77, allocations: 30.02 kB / 4.116 GB, free: 62.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/10.77, allocations: 0.6311 MB / 4.117 GB, free: 62.44 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/10.77, allocations: 281.9 kB / 4.117 GB, free: 62.22 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/10.77, allocations: 0 / 4.117 GB, free: 62.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001098/10.78, allocations: 358.2 kB / 4.118 GB, free: 61.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/10.78, allocations: 421.4 kB / 4.118 GB, free: 61.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008398/10.78, allocations: 0.8478 MB / 4.119 GB, free: 61.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/10.78, allocations: 0.5946 MB / 4.119 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/10.78, allocations: 2.875 kB / 4.119 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004597/10.78, allocations: 1.636 MB / 4.121 GB, free: 60.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008183/10.78, allocations: 3.852 MB / 4.125 GB, free: 56.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/10.78, allocations: 9.875 kB / 4.125 GB, free: 56.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/10.78, allocations: 310.5 kB / 4.125 GB, free: 56.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/10.79, allocations: 251.8 kB / 4.125 GB, free: 56.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00432/10.79, allocations: 3.648 MB / 4.129 GB, free: 52.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/10.79, allocations: 169 kB / 4.129 GB, free: 52.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003196/10.79, allocations: 82.22 kB / 4.129 GB, free: 52.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/10.79, allocations: 4 kB / 4.129 GB, free: 52.48 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004125/10.8, allocations: 1.335 MB / 4.13 GB, free: 51.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/10.8, allocations: 15.94 kB / 4.13 GB, free: 51.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/10.8, allocations: 310.2 kB / 4.131 GB, free: 51.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/10.8, allocations: 230.5 kB / 4.131 GB, free: 50.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/10.81, allocations: 4.94 MB / 4.136 GB, free: 46.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/10.81, allocations: 152.5 kB / 4.136 GB, free: 45.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/10.81, allocations: 67.72 kB / 4.136 GB, free: 45.86 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.0006208/10.81, allocations: 139.8 kB / 4.136 GB, free: 45.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006783/10.81, allocations: 200.3 kB / 4.136 GB, free: 45.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/10.81, allocations: 1.401 MB / 4.138 GB, free: 44.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/10.81, allocations: 12 kB / 4.138 GB, free: 44.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/10.81, allocations: 1.969 kB / 4.138 GB, free: 44.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002616/10.82, allocations: 1.165 MB / 4.139 GB, free: 43.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007755/10.83, allocations: 2.912 MB / 4.142 GB, free: 40.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/10.83, allocations: 0 / 4.142 GB, free: 40.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/10.83, allocations: 183.5 kB / 4.142 GB, free: 40.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006315/10.83, allocations: 236.1 kB / 4.142 GB, free: 40.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/10.83, allocations: 17.7 kB / 4.142 GB, free: 40.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/10.83, allocations: 3.473 MB / 4.145 GB, free: 36.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/10.83, allocations: 4 kB / 4.146 GB, free: 36.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004232/10.83, allocations: 2.001 MB / 4.147 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005916/10.84, allocations: 3.133 MB / 4.151 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/10.84, allocations: 362.3 kB / 4.151 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008077/10.84, allocations: 13.64 kB / 4.151 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/10.84, allocations: 108.5 kB / 4.151 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/10.84, allocations: 56.48 kB / 4.151 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/10.84, allocations: 35.98 kB / 4.151 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002224/10.85, allocations: 1.048 MB / 4.152 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009638/10.86, allocations: 2.466 MB / 4.154 GB, free: 27.14 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.006717/10.86, allocations: 4.671 MB / 4.159 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004622/10.87, allocations: 2.084 MB / 4.161 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/10.87, allocations: 0 / 4.161 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/10.87, allocations: 0.591 MB / 4.162 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/10.87, allocations: 0.8841 MB / 4.163 GB, free: 19.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008359/10.88, allocations: 2.904 MB / 4.165 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/10.88, allocations: 1.827 MB / 4.167 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of SimCode: time 1.083e-06/10.88, allocations: 0 / 4.167 GB, free: 14.22 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_y.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)