Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="IDEAS_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.004712/0.004712, allocations: 182.3 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7396/0.7396, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.935/1.935, allocations: 221.3 MB / 395 MB, free: 10.11 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.001002/0.001002, allocations: 101.1 kB / 477.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5066/0.5077, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.6991, allocations: 82.3 MB / 0.6333 GB, free: 13.88 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/2.091, allocations: 398.5 MB / 1.023 GB, free: 200 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004123/2.091, allocations: 88.36 kB / 1.023 GB, free: 200 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.061/5.153, allocations: 0.7812 GB / 1.804 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/5.153, allocations: 10.62 kB / 1.804 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/5.156, allocations: 0.5971 MB / 1.804 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03679/5.193, allocations: 14.4 MB / 1.818 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-05/5.193, allocations: 36.25 kB / 1.819 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/5.193, allocations: 71.59 kB / 1.819 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001693/5.195, allocations: 0.8716 MB / 1.819 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/5.197, allocations: 1.069 MB / 1.82 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/5.197, allocations: 0 / 1.82 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/5.197, allocations: 7.594 kB / 1.82 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/5.197, allocations: 26.34 kB / 1.821 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008884/5.206, allocations: 5.705 MB / 1.826 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/5.207, allocations: 0.7066 MB / 1.827 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/5.208, allocations: 363.8 kB / 1.827 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004012/5.212, allocations: 2.734 MB / 1.83 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/5.212, allocations: 38.44 kB / 1.83 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.985e-06/5.212, allocations: 0 / 1.83 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002819/5.215, allocations: 1.011 MB / 1.831 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/5.215, allocations: 55.66 kB / 1.831 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/5.216, allocations: 1.21 MB / 1.832 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/5.216, allocations: 29.33 kB / 1.832 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/5.217, allocations: 0.5477 MB / 1.833 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/5.217, allocations: 197.5 kB / 1.833 GB, free: 77.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/5.217, allocations: 2.938 kB / 1.833 GB, free: 77.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001003/5.217, allocations: 341.1 kB / 1.833 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/5.218, allocations: 315.4 kB / 1.833 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007503/5.218, allocations: 0.7354 MB / 1.834 GB, free: 76.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/5.22, allocations: 0.5332 MB / 1.835 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/5.22, allocations: 7.062 kB / 1.835 GB, free: 76.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003775/5.224, allocations: 1.367 MB / 1.836 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/5.225, allocations: 4.324 MB / 1.84 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/5.225, allocations: 12.94 kB / 1.84 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000654/5.226, allocations: 202.9 kB / 1.84 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008572/5.227, allocations: 218.6 kB / 1.841 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/5.228, allocations: 1.9 MB / 1.843 GB, free: 70.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/5.23, allocations: 134.8 kB / 1.843 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/5.23, allocations: 79.67 kB / 1.843 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/5.23, allocations: 6.469 kB / 1.843 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003299/5.233, allocations: 1.096 MB / 1.844 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/5.233, allocations: 14.41 kB / 1.844 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/5.234, allocations: 206.8 kB / 1.844 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007498/5.235, allocations: 208.5 kB / 1.844 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/5.239, allocations: 3.713 MB / 1.848 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/5.241, allocations: 107.4 kB / 1.848 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/5.241, allocations: 66.41 kB / 1.848 GB, free: 67.55 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.0004171/5.242, allocations: 150.4 kB / 1.848 GB, free: 67.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/5.242, allocations: 163.3 kB / 1.848 GB, free: 67.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/5.245, allocations: 1.31 MB / 1.85 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/5.245, allocations: 10.81 kB / 1.85 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/5.245, allocations: 3.062 kB / 1.85 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/5.245, allocations: 10.52 kB / 1.85 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/5.25, allocations: 2.3 MB / 1.852 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/5.25, allocations: 0 / 1.852 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/5.251, allocations: 124.8 kB / 1.852 GB, free: 66.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/5.251, allocations: 169.9 kB / 1.852 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/5.251, allocations: 14.72 kB / 1.852 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/5.252, allocations: 1.833 MB / 1.854 GB, free: 65.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/5.252, allocations: 0 / 1.854 GB, free: 65.28 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00269/5.255, allocations: 1.283 MB / 1.855 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003145/5.258, allocations: 1.756 MB / 1.857 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/5.259, allocations: 344.1 kB / 1.857 GB, free: 63.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/5.26, allocations: 3.938 kB / 1.857 GB, free: 63.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/5.261, allocations: 68.77 kB / 1.857 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/5.261, allocations: 46.62 kB / 1.857 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/5.261, allocations: 35.03 kB / 1.857 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002256/5.264, allocations: 0.9182 MB / 1.858 GB, free: 63.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008168/5.272, allocations: 1.339 MB / 1.86 GB, free: 63.58 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.003678/5.275, allocations: 1.363 MB / 1.861 GB, free: 63.26 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004411/5.28, allocations: 1.541 MB / 1.862 GB, free: 63.13 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/5.28, allocations: 0 / 1.862 GB, free: 63.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009434/5.281, allocations: 419.1 kB / 1.863 GB, free: 63.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/5.285, allocations: 0.6593 MB / 1.863 GB, free: 63.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/5.292, allocations: 2.173 MB / 1.866 GB, free: 62.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001726/5.293, allocations: 1.582 MB / 1.867 GB, free: 61.78 MB / 0.6823 GB Notification: Performance of SimCode: time 9.41e-07/5.293, allocations: 0 / 1.867 GB, free: 61.78 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)