Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.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_linear,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_linear",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.002947/0.002947, 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.7386/0.7386, 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.575/1.575, 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.0009575/0.0009572, allocations: 103.9 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4905/0.4915, allocations: 88.42 MB / 0.5529 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.7138, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/2.008, allocations: 398.5 MB / 1.022 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/2.008, allocations: 91.08 kB / 1.023 GB, free: 200.2 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 3.181/5.189, allocations: 0.7812 GB / 1.804 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/5.189, allocations: 12.84 kB / 1.804 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/5.193, allocations: 0.5979 MB / 1.804 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03926/5.232, allocations: 14.39 MB / 1.818 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/5.232, allocations: 40.88 kB / 1.819 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004882/5.233, allocations: 69.5 kB / 1.819 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002436/5.235, allocations: 0.87 MB / 1.819 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/5.238, allocations: 1.069 MB / 1.82 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/5.238, allocations: 4.156 kB / 1.82 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/5.238, allocations: 6.938 kB / 1.82 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/5.238, allocations: 25.75 kB / 1.821 GB, free: 82.76 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/5.248, allocations: 5.703 MB / 1.826 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/5.249, allocations: 0.7068 MB / 1.827 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/5.25, allocations: 354.2 kB / 1.827 GB, free: 79.92 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004305/5.254, allocations: 2.746 MB / 1.83 GB, free: 78.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/5.254, allocations: 35 kB / 1.83 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.226e-06/5.254, allocations: 2.031 kB / 1.83 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002951/5.257, allocations: 1.009 MB / 1.831 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/5.257, allocations: 61.5 kB / 1.831 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/5.259, allocations: 1.208 MB / 1.832 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.054e-05/5.259, allocations: 28.58 kB / 1.832 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/5.26, allocations: 0.5476 MB / 1.833 GB, free: 77.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/5.26, allocations: 200.1 kB / 1.833 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/5.26, allocations: 0 / 1.833 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/5.26, allocations: 347.4 kB / 1.833 GB, free: 77.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/5.261, allocations: 312 kB / 1.833 GB, free: 77.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/5.261, allocations: 0.7388 MB / 1.834 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/5.263, allocations: 0.5355 MB / 1.835 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/5.263, allocations: 2.719 kB / 1.835 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003678/5.267, allocations: 1.361 MB / 1.836 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009824/5.268, allocations: 4.332 MB / 1.84 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/5.268, allocations: 14.91 kB / 1.84 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/5.268, allocations: 202.7 kB / 1.84 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/5.269, allocations: 213.7 kB / 1.841 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/5.27, allocations: 1.902 MB / 1.843 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/5.272, allocations: 136.1 kB / 1.843 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/5.272, allocations: 77.58 kB / 1.843 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/5.272, allocations: 5.875 kB / 1.843 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003158/5.275, allocations: 1.094 MB / 1.844 GB, free: 70.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/5.275, allocations: 11.66 kB / 1.844 GB, free: 70.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/5.276, allocations: 207.5 kB / 1.844 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/5.277, allocations: 208.5 kB / 1.844 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/5.281, allocations: 3.712 MB / 1.848 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/5.283, allocations: 112.3 kB / 1.848 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/5.284, allocations: 70.48 kB / 1.848 GB, free: 67.46 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.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: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005911/5.284, allocations: 136.4 kB / 1.848 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/5.285, allocations: 164.8 kB / 1.848 GB, free: 67.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003755/5.289, allocations: 1.315 MB / 1.85 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/5.289, allocations: 10.86 kB / 1.85 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/5.289, allocations: 0 / 1.85 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/5.289, allocations: 7.797 kB / 1.85 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/5.295, allocations: 2.306 MB / 1.852 GB, free: 66.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/5.295, allocations: 0 / 1.852 GB, free: 66.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/5.295, allocations: 117.8 kB / 1.852 GB, free: 66.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/5.296, allocations: 170.3 kB / 1.852 GB, free: 66.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.935e-05/5.296, allocations: 18.06 kB / 1.852 GB, free: 66.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/5.297, allocations: 1.827 MB / 1.854 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/5.297, allocations: 0 / 1.854 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003031/5.3, allocations: 1.282 MB / 1.855 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003269/5.303, allocations: 1.765 MB / 1.857 GB, free: 63.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/5.304, allocations: 341 kB / 1.857 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005543/5.305, allocations: 3.219 kB / 1.857 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/5.306, allocations: 70.03 kB / 1.857 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/5.306, allocations: 51.31 kB / 1.857 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/5.307, allocations: 36.69 kB / 1.857 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001897/5.308, allocations: 0.9122 MB / 1.858 GB, free: 63.67 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006607/5.315, allocations: 1.344 MB / 1.86 GB, free: 63.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002928/5.318, allocations: 1.362 MB / 1.861 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003457/5.321, allocations: 1.541 MB / 1.862 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/5.322, allocations: 0 / 1.862 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/5.322, allocations: 415.2 kB / 1.863 GB, free: 63.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/5.326, allocations: 0.6554 MB / 1.863 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/5.332, allocations: 2.168 MB / 1.866 GB, free: 62.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/5.334, allocations: 1.585 MB / 1.867 GB, free: 61.69 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/5.334, allocations: 0 / 1.867 GB, free: 61.69 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)